From 9645f08702548d2a446cb7355dccb775e8aa9713 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 26 Dec 2024 20:37:50 -0800 Subject: [PATCH] remove extra wait --- quartz/components/scripts/spa.inline.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/quartz/components/scripts/spa.inline.ts b/quartz/components/scripts/spa.inline.ts index b9d563c658844..2bacb8c640edd 100644 --- a/quartz/components/scripts/spa.inline.ts +++ b/quartz/components/scripts/spa.inline.ts @@ -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) => {