remove extra wait

This commit is contained in:
Jacky Zhao 2024-12-26 20:37:50 -08:00
parent 5a71be2b3d
commit 9645f08702

View File

@ -58,7 +58,6 @@ function startLoading() {
let p: DOMParser let p: DOMParser
async function navigate(url: URL, isBack: boolean = false) { async function navigate(url: URL, isBack: boolean = false) {
startLoading() startLoading()
// await new Promise((resolve) => setTimeout(resolve, 500))
p = p || new DOMParser() p = p || new DOMParser()
const contents = await fetch(`${url}`) const contents = await fetch(`${url}`)
.then((res) => { .then((res) => {