diff --git a/app/(home)/(tabs)/my.tsx b/app/(home)/(tabs)/my.tsx index 8aa34d3..75e6563 100644 --- a/app/(home)/(tabs)/my.tsx +++ b/app/(home)/(tabs)/my.tsx @@ -117,7 +117,11 @@ export default function My(): JSX.Element { style={css` opacity: ${user?.avatar_url ? '1' : '0.7'}; `} - source={user?.avatar_url ? {uri: user?.avatar_url} : IC_ICON} + source={ + user?.avatar_url + ? {uri: `${user?.avatar_url}?${new Date().toISOString()}`} + : IC_ICON + } /> {user?.display_name || ''} {user?.affiliation ? ( diff --git a/app/(home)/settings/profile-update.tsx b/app/(home)/settings/profile-update.tsx index df8bf7a..0ab1c16 100644 --- a/app/(home)/settings/profile-update.tsx +++ b/app/(home)/settings/profile-update.tsx @@ -132,8 +132,6 @@ export default function ProfileUpdate(): JSX.Element { bucket: 'images', destPath, }); - - console.log('image', image); } const formDataWithTags = { @@ -181,7 +179,9 @@ export default function ProfileUpdate(): JSX.Element { ); setValue('future_expectations', user.profile.future_expectations || ''); setTags(user.userTags); - setProfileImg(`${user.profile.avatar_url}` || undefined); + setProfileImg( + `${user.profile.avatar_url}?${new Date().toISOString()}` || undefined, + ); } }, [user, setValue]);