Remove defineProps imports (it is a compiler macro now).
This commit is contained in:
parent
5808fe17ad
commit
a9b6d04361
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user