Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export function UserProfile({ session }: UserProfileProps) {
alt="Profile"
className="w-full h-full rounded-full object-cover"
/>
<Button
{editing && <Button
onClick={() => setIsPhotoDialogOpen(true)}
className="absolute -bottom-3 -right-3 bg-blue-600 hover:bg-blue-700 text-white p-2 rounded-full shadow-lg transform translate-0"
>
Expand All @@ -353,7 +353,7 @@ export function UserProfile({ session }: UserProfileProps) {
d="M16.5 12.75a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zM18.75 10.5h.008v.008h-.008V10.5z"
/>
</svg>
</Button>
</Button>}
</div>
)}
</div>
Expand Down