Skip to content

Commit

Permalink
Hide sidebar for session expired (#9642)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Jan 2, 2025
1 parent 8ce5aba commit 2dfac5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routers/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import OrganizationRoutes from "./routes/OrganizationRoutes";
import QuestionnaireRoutes from "./routes/questionnaireRoutes";

// List of paths where the sidebar should be hidden
const PATHS_WITHOUT_SIDEBAR = ["/"];
const PATHS_WITHOUT_SIDEBAR = ["/", "/session-expired"];

export type RouteParams<T extends string> =
T extends `${string}:${infer Param}/${infer Rest}`
Expand Down

0 comments on commit 2dfac5c

Please sign in to comment.