Skip to content

Commit

Permalink
Hide sidebar for session expired
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jan 2, 2025
1 parent 3a9c7fe commit 70051af
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 @@ -28,7 +28,7 @@ import { QuestionnaireShow } from "../components/Questionnaire/show";
import OrganizationRoutes from "./routes/OrganizationRoutes";

// 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 70051af

Please sign in to comment.