Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit f7ab5a3

Browse files
committed
Update loading bar delay for router
1 parent c87c17c commit f7ab5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/react/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const Router: FC<RouterProps> = ({ ssrContext, suspense }) => {
157157
loading = null;
158158
loadingBar.style.opacity = "1";
159159
loadingBar.style.width = "50%";
160-
}, 200);
160+
}, 300);
161161
const modules = await Promise.all(matches.map(async ([ret, meta]) => {
162162
const { filename } = meta;
163163
const rmod: RouteModule = {

0 commit comments

Comments
 (0)