From b4f5a5dabb18524477ba71858c0de031d5c22c0e Mon Sep 17 00:00:00 2001 From: Devin Matte Date: Sun, 2 Mar 2025 14:44:14 -0500 Subject: [PATCH] Fix bug for crRoute --- common/layouts/DashboardLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/layouts/DashboardLayout.tsx b/common/layouts/DashboardLayout.tsx index c0116e79..98ab4194 100644 --- a/common/layouts/DashboardLayout.tsx +++ b/common/layouts/DashboardLayout.tsx @@ -14,7 +14,7 @@ interface DashboardLayoutProps { export const DashboardLayout: React.FC = ({ children }) => { const isMobile = !useBreakpoint('md'); const { line, page, query, tab } = useDelimitatedRoute(); - const { busRoute } = query; + const { busRoute, crRoute } = query; const dateStoreSection = page ? ALL_PAGES[page]?.dateStoreSection : undefined; const showControlParams = dateStoreSection && (line || tab === 'System') && dateStoreSection !== 'today';