diff --git a/app-prefixable/src/app.tsx b/app-prefixable/src/app.tsx index dd07f3b..35c5f8a 100644 --- a/app-prefixable/src/app.tsx +++ b/app-prefixable/src/app.tsx @@ -31,7 +31,9 @@ function DirectoryIndex() { function SessionIndex() { const params = useParams<{ dir: string }>() const href = getLastSessionHref(params.dir) - return href === "session" ? : + if (href === "session") return + const id = href.replace(/^session\//, "") + return } function AppRoutes() {