From b1ebccb2a71847e38de20daa5b3de02742090b76 Mon Sep 17 00:00:00 2001 From: Cesar Ferreyra-Mansilla Date: Tue, 9 Apr 2024 14:07:55 -0400 Subject: [PATCH] fix: use boolean to track minimal mode activation --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index b90cdd02..97afe1af 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -47,7 +47,7 @@ const allDrivers = [ function App(props: RouteComponentProps) { // URL parameters const urlParams = new URLSearchParams(props.location.search); - const isMinimalMode = urlParams.get('minimal_mode'); + const isMinimalMode = urlParams.get('minimal_mode') === 'true'; const VIS_PADDING = { top: isMinimalMode ? 0 : 60, right: isMinimalMode ? 0 : 60,