Skip to content

Commit 73a7e8d

Browse files
committed
Fix linting issue
1 parent 402c4d2 commit 73a7e8d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/dive-common/components/Viewer.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ import { provideAnnotator } from 'vue-media-annotator/provides';
2525
import {
2626
ImageAnnotator,
2727
VideoAnnotator,
28-
NativeVideoAnnotator,
2928
LargeImageAnnotator,
3029
LayerManager,
3130
useMediaController,
3231
} from 'vue-media-annotator/components';
32+
// NativeVideoAnnotator uses electron APIs, import directly to avoid lib build issues
33+
import NativeVideoAnnotator from 'vue-media-annotator/components/annotators/NativeVideoAnnotator.vue';
3334
import type { AnnotationId } from 'vue-media-annotator/BaseAnnotation';
3435
import { getResponseError } from 'vue-media-annotator/utils';
3536

client/src/components/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
import ImageAnnotator from './annotators/ImageAnnotator.vue';
88
import VideoAnnotator from './annotators/VideoAnnotator.vue';
9-
import NativeVideoAnnotator from './annotators/NativeVideoAnnotator.vue';
109
import LargeImageAnnotator from './annotators/LargeImageAnnotator.vue';
10+
// NativeVideoAnnotator is not exported - it depends on electron and is only for desktop app
1111

1212
import Controls from './controls/Controls.vue';
1313
import EventChart from './controls/EventChart.vue';
@@ -33,7 +33,6 @@ export {
3333
/* Annotators */
3434
ImageAnnotator,
3535
VideoAnnotator,
36-
NativeVideoAnnotator,
3736
LargeImageAnnotator,
3837
/* Controls */
3938
Controls,

0 commit comments

Comments
 (0)