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
parent 6ce4b3fe2f
commit 3e7285c8d5
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1
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';