A social knowledge tool for researchers built on ATProto

chore: remove unused import

+1 -3
+1 -3
src/webapp/components/navigation/bottomBarItem/BottomBarItem.tsx
··· 1 import { IconType } from 'react-icons/lib'; 2 import { ActionIcon } from '@mantine/core'; 3 - import { usePathname } from 'next/navigation'; 4 import Link from 'next/link'; 5 import { ReactElement, isValidElement } from 'react'; 6 - import { useColorScheme } from '@mantine/hooks'; 7 8 interface Props { 9 href: string; ··· 11 } 12 13 export default function BottomBarItem(props: Props) { 14 - const colorScheme = useColorScheme(); 15 const pathname = usePathname(); 16 const isActive = pathname === props.href; 17
··· 1 import { IconType } from 'react-icons/lib'; 2 import { ActionIcon } from '@mantine/core'; 3 import Link from 'next/link'; 4 import { ReactElement, isValidElement } from 'react'; 5 + import { usePathname } from 'next/navigation'; 6 7 interface Props { 8 href: string; ··· 10 } 11 12 export default function BottomBarItem(props: Props) { 13 const pathname = usePathname(); 14 const isActive = pathname === props.href; 15