Skip to content

Commit 917f43d

Browse files
committed
fix: graph page layout issue caused by trailing slash
1 parent ef5b603 commit 917f43d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Layout = ({
4545
// Check if we are on the about page or graph page to conditionally render layout elements
4646
const isTheVaguePage = location.pathname.startsWith('/the-vague');
4747
const isAboutPage = location.pathname.startsWith('/about');
48-
const isGraphPage = location.pathname === '/graph';
48+
const isGraphPage = location.pathname.startsWith('/graph');
4949
const isTerminalPage = location.pathname.startsWith('/terminal');
5050

5151
// Check for special project styles that require hiding the default layout

0 commit comments

Comments
 (0)