mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 14:54:05 -06:00
remove extra wait
This commit is contained in:
parent
5a71be2b3d
commit
9645f08702
@ -58,7 +58,6 @@ function startLoading() {
|
||||
let p: DOMParser
|
||||
async function navigate(url: URL, isBack: boolean = false) {
|
||||
startLoading()
|
||||
// await new Promise((resolve) => setTimeout(resolve, 500))
|
||||
p = p || new DOMParser()
|
||||
const contents = await fetch(`${url}`)
|
||||
.then((res) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user