mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
Fixed link issue.
This commit is contained in:
parent
0607e9f442
commit
f908476e71
@ -37,8 +37,8 @@ export default function NavGroup({
|
||||
{items.map(({ label, url, icon, divider }) => {
|
||||
return (
|
||||
<Tooltip key={label} label={label} position="right" disabled={!minimized}>
|
||||
<Link href={url}>
|
||||
<a
|
||||
<Link
|
||||
href={url}
|
||||
className={classNames(styles.item, {
|
||||
[styles.divider]: divider,
|
||||
[styles.selected]: pathname.startsWith(url),
|
||||
@ -46,7 +46,6 @@ export default function NavGroup({
|
||||
>
|
||||
<Icon>{icon}</Icon>
|
||||
<Text className={styles.text}>{label}</Text>
|
||||
</a>
|
||||
</Link>
|
||||
</Tooltip>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user