mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: bug fix
This commit is contained in:
1 parent
f621d26ed7
commit
8dbc954f06
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
||||
export default function delay(ms) {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||
return new Promise((resolve) => { setTimeout(resolve, ms); });
|
||||
}
|
||||
|
||||
window.Hydro.utils.delay = delay;
|
||||
Reference in new issue
Block a user