diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.js b/app/javascript/mastodon/features/ui/components/navigation_panel.js
index aa917c1ca5b..4dadf294d2c 100644
--- a/app/javascript/mastodon/features/ui/components/navigation_panel.js
+++ b/app/javascript/mastodon/features/ui/components/navigation_panel.js
@@ -58,7 +58,7 @@ class NavigationPanel extends React.Component {
)}
- {signedIn || timelinePreview && (
+ {(signedIn || timelinePreview) && (
<>