fix: remove unnecessary api call (#23050)

Co-authored-by: Arno <arno@crewbrain.com>
pull/23053/head
Arno 2025-10-18 19:21:37 +07:00 committed by GitHub
parent f26db8053b
commit 0700758621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

@ -39,7 +39,7 @@
import { locale } from '$lib/stores/preferences.store';
import { preferences } from '$lib/stores/user.store';
import { websocketEvents } from '$lib/stores/websocket';
import { getPeopleThumbnailUrl, handlePromiseError } from '$lib/utils';
import { getPeopleThumbnailUrl } from '$lib/utils';
import { handleError } from '$lib/utils/handle-error';
import { isExternalUrl } from '$lib/utils/navigation';
import {
@ -361,12 +361,6 @@
let thumbnailData = $derived(getPeopleThumbnailUrl(person));
$effect(() => {
if (person) {
handlePromiseError(updateAssetCount());
}
});
const handleSetVisibility = (assetIds: string[]) => {
timelineManager.removeAssets(assetIds);
assetInteraction.clearMultiselect();