delete account and later on modal closing effect.

This commit is contained in:
Cindy Chang
2024-06-24 10:09:39 +08:00
parent b55cc0a6d6
commit 00d086ff1d
7 changed files with 51 additions and 11 deletions

4
src/utils/timeUtil.js Normal file
View File

@@ -0,0 +1,4 @@
export const delaySecond = (s = 2.5) => {
return new Promise((resolve) =>
setTimeout(resolve, s * 1000)
);}