diff --git a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js index bb444fa654..e566563dde 100644 --- a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js +++ b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js @@ -55,9 +55,9 @@ class NavigationPanel extends React.Component { )} {showTrends ? ( - (signedIn || timelinePreview) ? : <> + ) : ( - (signedIn || timelinePreview) ? : <> + )} {(signedIn || timelinePreview) && ( diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.js b/app/javascript/mastodon/features/ui/components/navigation_panel.js index 2959cfcfed..6e435dfbad 100644 --- a/app/javascript/mastodon/features/ui/components/navigation_panel.js +++ b/app/javascript/mastodon/features/ui/components/navigation_panel.js @@ -59,9 +59,9 @@ class NavigationPanel extends React.Component { )} {showTrends ? ( - (signedIn || timelinePreview) ? : <> + ) : ( - (signedIn || timelinePreview) ? : <> + )} {(signedIn || timelinePreview) && (