You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
497 B
19 lines
497 B
import { usePrimaryPage } from '@/PageManager' |
|
import { Compass } from 'lucide-react' |
|
import { useTranslation } from 'react-i18next' |
|
import SidebarItem from './SidebarItem' |
|
|
|
export default function RelaysButton() { |
|
const { t } = useTranslation() |
|
const { navigate, current } = usePrimaryPage() |
|
|
|
return ( |
|
<SidebarItem |
|
title={t('Explore')} |
|
onClick={() => navigate('explore')} |
|
active={current === 'explore'} |
|
> |
|
<Compass strokeWidth={3} /> |
|
</SidebarItem> |
|
) |
|
}
|
|
|