diff --git a/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts b/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts index d075ef4dbb..f77fbc7f20 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts +++ b/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts @@ -15,7 +15,7 @@ describe('AssetViewerNavBar component', () => { showShareButton: false, preAction: () => {}, onZoomImage: () => {}, - onCopyImage: async () => {}, + onCopyImage: () => {}, onAction: () => {}, onRunJob: () => {}, onPlaySlideshow: () => {}, diff --git a/web/src/lib/components/photos-page/actions/link-live-photo-action.svelte b/web/src/lib/components/photos-page/actions/link-live-photo-action.svelte index 05eda961b3..4b37b4ffe6 100644 --- a/web/src/lib/components/photos-page/actions/link-live-photo-action.svelte +++ b/web/src/lib/components/photos-page/actions/link-live-photo-action.svelte @@ -50,7 +50,7 @@ const handleUnlink = async () => { const [still] = [...getOwnedAssets()]; if (still) { - const motionId = (still as TimelineAsset).livePhotoVideoId; + const motionId = still.livePhotoVideoId; if (!motionId) { return; }