feat: improvement to template
This commit is contained in:
39 files changed
+331
-339
No files matched your search
@@ -85,8 +85,8 @@ function useLoading() {
|
||||
const { appendLoading, removeLoading } = useLoading()
|
||||
domReady().then(appendLoading)
|
||||
|
||||
window.onmessage = ev => {
|
||||
window.onmessage = (ev) => {
|
||||
ev.data.payload === 'removeLoading' && removeLoading()
|
||||
}
|
||||
|
||||
setTimeout(removeLoading, 4999)
|
||||
setTimeout(removeLoading, 4999)
|
||||
Reference in new issue
Block a user