Skip to content

A self-hosted media server and file management system

fix: store types

aminnausin6aaf2579271c
diff --git a/resources/js/components/video/VideoLyrics.vue b/resources/js/components/video/VideoLyrics.vue
index 4cdf7e63..d54249b8 100644
--- a/resources/js/components/video/VideoLyrics.vue
+++ b/resources/js/components/video/VideoLyrics.vue
@@ -13,7 +13,7 @@ interface NumericLyricLine {
percentage: number;
}
-const { stateVideo } = storeToRefs(useContentStore()) as { stateVideo: Ref<VideoResource> };
+const { stateVideo } = storeToRefs(useContentStore()) as unknown as { stateVideo: Ref<VideoResource> };
const emit = defineEmits<{ seek: [value: number] }>();
const props = defineProps<{ rawLyrics: string; timeElapsed: string | number; timeDuration: number; isPaused: boolean }>();