unneeded cast

This commit is contained in:
Min Idzelis 2025-04-29 01:26:53 +00:00
parent cd8806eac0
commit 236973e329
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ describe('AssetViewerNavBar component', () => {
showShareButton: false,
preAction: () => {},
onZoomImage: () => {},
onCopyImage: async () => {},
onCopyImage: () => {},
onAction: () => {},
onRunJob: () => {},
onPlaySlideshow: () => {},

View File

@ -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;
}