Skip to content

Commit

Permalink
🔨 We don't striclty check for null
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Jun 21, 2024
1 parent ec7f98e commit 7b442d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/stores/booking-modal-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { modalStates } from '@/definitions';
export const useBookingModalStore = defineStore('bookingModal', () => {
const open = ref(false);
const state = ref(modalStates.open);
const stateData = ref<string|null>(null);
const stateData = ref<string>(null);

const isLoading = computed(() => state.value === modalStates.loading);
const isFinished = computed(() => state.value === modalStates.finished);
Expand Down

0 comments on commit 7b442d5

Please sign in to comment.