mirror of
https://github.com/maciejpedzich/racemash.git
synced 2024-11-27 16:15:47 +01:00
Reorder Vue and composable imports
This commit is contained in:
parent
92e43959e6
commit
aa08249782
@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useSnackbar } from '@/composables/useSnackbar';
|
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
|
import { useSnackbar } from '@/composables/useSnackbar';
|
||||||
|
|
||||||
const { visible, status, message } = useSnackbar();
|
const { visible, status, message } = useSnackbar();
|
||||||
const title = computed(() => (status.value === 'error' ? 'Error' : 'Success'));
|
const title = computed(() => (status.value === 'error' ? 'Error' : 'Success'));
|
||||||
|
Loading…
Reference in New Issue
Block a user