+ use Shift + Enter to create and add another +
@@ -47,6 +46,15 @@ }, }); + const api = useUserApi(); + const toast = useNotifier(); + + const locationsStore = useLocationStore(); + const locations = computed(() => locationsStore.allLocations); + + const labelStore = useLabelStore(); + const labels = computed(() => labelStore.labels); + const route = useRoute(); const labelId = computed(() => { @@ -63,16 +71,7 @@ return null; }); - const api = useUserApi(); - const toast = useNotifier(); - - const locationsStore = useLocationStore(); - const locations = computed(() => locationsStore.allLocations); - - const labelStore = useLabelStore(); - const labels = computed(() => labelStore.labels); - - const submitBtn = ref(null); + const nameInput = ref