fix: trying to load resources before auth
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m29s

This commit is contained in:
2024-06-13 23:46:43 -04:00
parent 8ae855838b
commit fc035106d0
3 changed files with 5 additions and 5 deletions

View File

@@ -5,8 +5,6 @@
<script setup lang="ts">
import { defineComponent, onMounted } from 'vue';
import { useAuthStore } from './stores/auth';
import { useBoatStore } from './stores/boat';
import { useReservationStore } from './stores/reservation';
defineComponent({
name: 'OYS Borrow-a-Boat',
@@ -14,7 +12,5 @@ defineComponent({
onMounted(async () => {
await useAuthStore().init();
await useBoatStore().fetchBoats();
await useReservationStore().fetchUserReservations();
});
</script>