feat(tools): added favorite tool handling

This commit is contained in:
Corentin Thomasset
2022-12-17 01:30:02 +01:00
parent 8d09086e78
commit 4cd809bd0c
10 changed files with 181 additions and 51 deletions

View File

@@ -1,8 +1,8 @@
<script lang="ts" setup>
import type { ITool } from '@/tools/tool';
import type { Tool } from '@/tools/tools.types';
import { toRefs } from 'vue';
const props = defineProps<{ tool: ITool }>();
const props = defineProps<{ tool: Tool }>();
const { tool } = toRefs(props);
</script>