From 2fa6d42f5e405cd73df9e1f73d7377b257154ea7 Mon Sep 17 00:00:00 2001 From: sektordv Date: Tue, 22 Jun 2021 12:08:45 +0200 Subject: [PATCH] hide channel selector on all paths except home --- src/components/AppLayout/AppLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AppLayout/AppLayout.tsx b/src/components/AppLayout/AppLayout.tsx index 7a9717637..36edfdd9e 100644 --- a/src/components/AppLayout/AppLayout.tsx +++ b/src/components/AppLayout/AppLayout.tsx @@ -216,7 +216,7 @@ const AppLayout: React.FC = ({ children }) => { .includes("mac")} onClick={() => setNavigatorVisibility(true)} /> - {channel && ( + {channel && location.pathname === "/" && (