fix: store name

This commit is contained in:
Methapon Metanipat 2024-09-30 14:16:16 +07:00
parent 81580fdb5c
commit 02b2f6aa5c

View file

@ -6,7 +6,7 @@ import { api } from 'src/boot/axios';
import { Quotation, QuotationFull, QuotationPayload } from './types';
import { PaginationResult } from 'src/types';
export const quotationStore = defineStore('quotation-store', () => {
export const useQuotationStore = defineStore('quotation-store', () => {
const data = ref<Quotation[]>([]);
const page = ref<number>(1);
const pageMax = ref<number>(1);