Fix project settings IconLink

This commit is contained in:
David Corbitt
2023-08-07 11:21:59 -07:00
parent 1a838824ae
commit 57166e96b4
2 changed files with 2 additions and 4 deletions

View File

@@ -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 />

View File

@@ -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>