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> </IconButton>
</StyledListItem> </StyledListItem>
<FavoriteList showList={showSubFavorite} /> <FavoriteList showList={showSubFavorite} />
<StyledListItem <StyledListItem active={router.asPath === paths.setting}>
onClick={() => {
// setShowWorkspaceSetting(true);
}}
>
<StyledLink href={{ pathname: paths.setting }}> <StyledLink href={{ pathname: paths.setting }}>
<FavouritesIcon /> <SettingsIcon />
{t('Setting')} {t('Setting')}
</StyledLink> </StyledLink>
<SettingsIcon />
</StyledListItem> </StyledListItem>
{/* <WorkspaceSetting {/* <WorkspaceSetting