Remove defineProps imports (it is a compiler macro now).
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang=ts>
|
||||
import { defineProps, ref } from 'vue'
|
||||
import { ref } from 'vue'
|
||||
import { useMainStore } from '@/stores/main'
|
||||
import { Doc } from '@/repositories/Document'
|
||||
import MediaPreview from '@/components/MediaPreview.vue'
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang=ts>
|
||||
import { defineProps, ref } from 'vue'
|
||||
import { ref } from 'vue'
|
||||
import type { Doc } from '@/repositories/Document'
|
||||
|
||||
const media = ref<HTMLAudioElement | HTMLVideoElement | null>(null)
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang=ts>
|
||||
import { defineProps } from 'vue'
|
||||
import { useMainStore } from '@/stores/main'
|
||||
import type { Doc } from '@/repositories/Document'
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { defineAsyncComponent, defineProps } from 'vue'
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
|
||||
const props = defineProps<{
|
||||
name: string
|
||||
|
||||
Reference in New Issue
Block a user