diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.js b/app/javascript/mastodon/features/ui/components/navigation_panel.js
index aa917c1ca..4dadf294d 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) && (
<>