refactor(imports): removed unnecessary imports to vue

This commit is contained in:
Corentin Thomasset 2023-06-10 17:14:50 +02:00 committed by Corentin THOMASSET
parent 93799af83c
commit fe61f0f2f2
59 changed files with 17 additions and 59 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { type Component, toRefs } from 'vue';
import type { Component } from 'vue';
const props = defineProps<{ icon: Component; title: string; action: () => void; isActive?: () => boolean }>();
const { icon, title, action, isActive } = toRefs(props);

View file

@ -18,7 +18,7 @@ import {
Strikethrough,
TextWrap,
} from '@vicons/tabler';
import { type Component, toRefs } from 'vue';
import type { Component } from 'vue';
import MenuBarItem from './menu-bar-item.vue';
const props = defineProps<{ editor: Editor }>();