remove unnecessary vue imports

> `defineProps` and `defineEmits` are compiler macros only usable inside
> `<script setup>`. They do not need to be imported, and are compiled away
> when `<script setup>` is processed.

-- https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits
This commit is contained in:
Johann150 2022-08-11 00:36:34 +02:00 committed by Francis Dinh
parent c7a87eff8c
commit 53947c4506
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@
</template>
<script lang="ts" setup>
import { reactive, defineProps } from 'vue';
import { reactive } from 'vue';
import number from '@/filters/number';
const props = defineProps<{

View file

@ -40,7 +40,7 @@
</template>
<script lang="ts" setup>
import { defineAsyncComponent, watch, defineEmits, onMounted, nextTick } from 'vue';
import { defineAsyncComponent, watch, onMounted, nextTick } from 'vue';
import * as os from '@/os';
import { menuDef } from '@/menu';
import { openAccountMenu, $i, iAmModerator } from '@/account';