diff --git a/src/apps/experimental/components/AppToolbar/index.tsx b/src/apps/experimental/components/AppToolbar/index.tsx index ed447ae694..9ff1e39202 100644 --- a/src/apps/experimental/components/AppToolbar/index.tsx +++ b/src/apps/experimental/components/AppToolbar/index.tsx @@ -11,6 +11,7 @@ import AppTabs from '../tabs/AppTabs'; import { isDrawerPath } from '../drawers/AppDrawer'; import RemotePlayButton from './RemotePlayButton'; import SyncPlayButton from './SyncPlayButton'; +import { isTabPath } from '../tabs/tabRoutes'; interface AppToolbarProps { isDrawerOpen: boolean @@ -23,6 +24,7 @@ const ExperimentalAppToolbar: FC = ({ }) => { const location = useLocation(); const isDrawerAvailable = isDrawerPath(location.pathname); + const isTabsAvailable = isTabPath(location.pathname); return ( = ({ isDrawerOpen={isDrawerOpen} onDrawerButtonClick={onDrawerButtonClick} > - + {isTabsAvailable && ()} ); };