From 3c6644bc635dfc0d6db34ad711f94999b34e1da5 Mon Sep 17 00:00:00 2001 From: Cindy Chang Date: Fri, 16 Aug 2024 14:32:30 +0800 Subject: [PATCH] WIP: #316 close modal --- src/stores/modal.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/stores/modal.js b/src/stores/modal.js index 71bb056..ac8a738 100644 --- a/src/stores/modal.js +++ b/src/stores/modal.js @@ -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; }, },