mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 17:01:13 +03:00
unneeded cast
This commit is contained in:
@@ -15,7 +15,7 @@ describe('AssetViewerNavBar component', () => {
|
||||
showShareButton: false,
|
||||
preAction: () => {},
|
||||
onZoomImage: () => {},
|
||||
onCopyImage: async () => {},
|
||||
onCopyImage: () => {},
|
||||
onAction: () => {},
|
||||
onRunJob: () => {},
|
||||
onPlaySlideshow: () => {},
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user