Skip to content

Commit 8e7d8c9

Browse files
authored
fix(profile-pics): remove sharp dependency for serving profile pics in settings (#2199)
1 parent ca3eb5b commit 8e7d8c9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/settings-modal/components/general/general.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ export function General({ onOpenChange }: GeneralProps) {
291291
alt={profile?.name || 'User'}
292292
width={36}
293293
height={36}
294+
unoptimized
294295
className={`h-full w-full object-cover transition-opacity duration-300 ${
295296
isUploadingProfilePicture ? 'opacity-50' : 'opacity-100'
296297
}`}

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/settings-modal/components/template-profile/template-profile.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ export function TemplateProfile() {
348348
alt={formData.name || 'Profile picture'}
349349
width={36}
350350
height={36}
351+
unoptimized
351352
className={`h-full w-full object-cover transition-opacity duration-300 ${
352353
isUploadingProfilePicture ? 'opacity-50' : 'opacity-100'
353354
}`}

0 commit comments

Comments
 (0)