Remove defineProps imports (it is a compiler macro now).

This commit is contained in:
2023-11-18 23:47:55 +00:00
parent 64eb9896a9
commit 651ce7b6a7
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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)
-1
View File
@@ -11,7 +11,6 @@
</template>
<script setup lang=ts>
import { defineProps } from 'vue'
import { useMainStore } from '@/stores/main'
import type { Doc } from '@/repositories/Document'
+1 -1
View File
@@ -6,7 +6,7 @@
</template>
<script setup lang="ts">
import { defineAsyncComponent, defineProps } from 'vue'
import { defineAsyncComponent } from 'vue'
const props = defineProps<{
name: string