From a60ea08fca9462ea1acd18ee81d40c140bb9b5d5 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sun, 29 Sep 2024 10:00:01 +0800 Subject: [PATCH] chore: update --- apps/main/src/lib/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/main/src/lib/router.ts b/apps/main/src/lib/router.ts index 2d9421ac0..925c40e28 100644 --- a/apps/main/src/lib/router.ts +++ b/apps/main/src/lib/router.ts @@ -27,7 +27,7 @@ export const handleUrlRouting = (url: string) => { const id = searchParams.get("id") ?? undefined const isList = searchParams.get("type") === "list" const urlParam = searchParams.get("url") ?? undefined - if (!id && !url) return + if (!id && !urlParam) return caller.follow({ isList, id, url: urlParam }) return }