diff --git a/web/src/lib/components/shared-components/profile-image-cropper.svelte b/web/src/lib/components/shared-components/profile-image-cropper.svelte index 03ef93b0ae..9a6affa695 100644 --- a/web/src/lib/components/shared-components/profile-image-cropper.svelte +++ b/web/src/lib/components/shared-components/profile-image-cropper.svelte @@ -9,7 +9,6 @@ export let publicSharedKey = ''; import domtoimage from 'dom-to-image'; import { notificationController, NotificationType } from './notification/notification'; - import { lastUpdatedProfilePicture } from '$lib/stores/preferences.store'; let profilePicture: HTMLDivElement; @@ -19,7 +18,6 @@ const file: File = new File([blob], 'profile-picture.png', { type: 'image/png' }); try { await api.userApi.createProfileImage({ file }); - lastUpdatedProfilePicture.set(Date.now()); dispatch('close'); notificationController.show({ type: NotificationType.Info, diff --git a/web/src/lib/components/shared-components/user-avatar.svelte b/web/src/lib/components/shared-components/user-avatar.svelte index 2f9e669676..a9ab500a96 100644 --- a/web/src/lib/components/shared-components/user-avatar.svelte +++ b/web/src/lib/components/shared-components/user-avatar.svelte @@ -6,7 +6,6 @@