Fix project settings IconLink
This commit is contained in:
@@ -87,9 +87,7 @@ const NavSidebar = () => {
|
|||||||
>
|
>
|
||||||
CONFIGURATION
|
CONFIGURATION
|
||||||
</Text>
|
</Text>
|
||||||
<NavSidebarOption activeHrefPattern="/settings">
|
<IconLink icon={BsGearFill} label="Project Settings" href="/settings" />
|
||||||
<IconLink icon={BsGearFill} label="Project Settings" href="/settings" />
|
|
||||||
</NavSidebarOption>
|
|
||||||
</VStack>
|
</VStack>
|
||||||
{user && <UserMenu user={user} borderColor={"gray.200"} />}
|
{user && <UserMenu user={user} borderColor={"gray.200"} />}
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const IconLink = ({ icon, label, href, color, ...props }: IconLinkProps) => {
|
|||||||
<NavSidebarOption activeHrefPattern={href}>
|
<NavSidebarOption activeHrefPattern={href}>
|
||||||
<HStack w="full" p={2} color={color} justifyContent="start" {...props}>
|
<HStack w="full" p={2} color={color} justifyContent="start" {...props}>
|
||||||
<Icon as={icon} boxSize={6} mr={2} />
|
<Icon as={icon} boxSize={6} mr={2} />
|
||||||
<Text fontSize="sm">
|
<Text fontSize="sm" display={{base: 'none', md: 'block'}}>
|
||||||
{label}
|
{label}
|
||||||
</Text>
|
</Text>
|
||||||
</HStack>
|
</HStack>
|
||||||
|
|||||||
Reference in New Issue
Block a user