diff --git a/web/sidebar/left-layout-aside.react.js b/web/sidebar/left-layout-aside.react.js --- a/web/sidebar/left-layout-aside.react.js +++ b/web/sidebar/left-layout-aside.react.js @@ -2,15 +2,24 @@ import * as React from 'react'; +import { useSelector } from '../redux/redux-utils'; import AppSwitcher from './app-switcher.react'; import CommunityPicker from './community-picker.react'; import css from './left-layout-aside.css'; +import SettingsSwitcher from './settings-switcher.react'; function LeftLayoutAside(): React.Node { + const navInfo = useSelector(state => state.navInfo); + const navigationPanel = React.useMemo(() => { + if (navInfo.tab === 'settings') { + return ; + } + return ; + }, [navInfo.tab]); return ( ); }