Skip to content

Commit 1108caf

Browse files
Jopat24091Blademaster
authored andcommitted
Conditionally render navbar based on pathname (#640)
1 parent b8ad383 commit 1108caf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcs/src/components/mainContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function AppContent() {
4646
{renderUI && <Toolbar />}
4747
<ErrorBoundary fallbackRender={ErrorBoundaryFallback}>
4848
<SettingsModal />
49-
<Navbar className="no-drag" />
49+
{renderUI && <Navbar className="no-drag" />}
5050
<Routes>
5151
<Route
5252
path="/"

0 commit comments

Comments
 (0)