WIP: #316 close modal
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { MODAL_ACCT_INFO, } from '@/constants/constants.js';
|
||||
import { delaySecond } from "@/utils/timeUtil.js";
|
||||
|
||||
export const useModalStore = defineStore('modalStore', {
|
||||
state: () => ({
|
||||
@@ -13,7 +12,6 @@ export const useModalStore = defineStore('modalStore', {
|
||||
this.whichModal = whichModal;
|
||||
},
|
||||
async closeModal(){
|
||||
await delaySecond(2);
|
||||
this.isModalOpen = false;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user