feat: add workspace-setting active

This commit is contained in:
DiamondThree 2023-01-10 11:45:34 +08:00
parent 779463dada
commit a80e15042a

View File

@ -153,16 +153,11 @@ export const WorkSpaceSliderBar = () => {
</IconButton>
</StyledListItem>
<FavoriteList showList={showSubFavorite} />
<StyledListItem
onClick={() => {
// setShowWorkspaceSetting(true);
}}
>
<StyledListItem active={router.asPath === paths.setting}>
<StyledLink href={{ pathname: paths.setting }}>
<FavouritesIcon />
<SettingsIcon />
{t('Setting')}
</StyledLink>
<SettingsIcon />
</StyledListItem>
{/* <WorkspaceSetting