tangled
alpha
login
or
join now
cosmik.network
/
semble
43
fork
atom
A social knowledge tool for researchers built on ATProto
43
fork
atom
overview
issues
13
pulls
pipelines
chore: remove unused import
Pouria Delfanazari
4 months ago
e88250b2
318af14f
+1
-3
1 changed file
expand all
collapse all
unified
split
src
webapp
components
navigation
bottomBarItem
BottomBarItem.tsx
+1
-3
src/webapp/components/navigation/bottomBarItem/BottomBarItem.tsx
···
1
1
import { IconType } from 'react-icons/lib';
2
2
import { ActionIcon } from '@mantine/core';
3
3
-
import { usePathname } from 'next/navigation';
4
3
import Link from 'next/link';
5
4
import { ReactElement, isValidElement } from 'react';
6
6
-
import { useColorScheme } from '@mantine/hooks';
5
5
+
import { usePathname } from 'next/navigation';
7
6
8
7
interface Props {
9
8
href: string;
···
11
10
}
12
11
13
12
export default function BottomBarItem(props: Props) {
14
14
-
const colorScheme = useColorScheme();
15
13
const pathname = usePathname();
16
14
const isActive = pathname === props.href;
17
15