fix: wrong type and exact only page

This commit is contained in:
Aslam H
2024-11-09 13:20:15 +07:00
parent 08bcf3037a
commit eb396ba7c4
2 changed files with 9 additions and 4 deletions

View File

@@ -27,7 +27,13 @@ export const LinkCollection: React.FC = () => {
<div className="flex flex-col gap-px py-2">
<NavItem to="/links" title="Links" icon="Link" count={linkCount} />
<NavItem to="/topics" title="Topics" icon="Hash" count={topicCount} />
<NavItem to="/pages" title="Pages" icon="Layers" count={pageCount} />
<NavItem
to="/pages"
title="Pages"
icon="Layers"
count={pageCount}
activeOptions={{ exact: true }}
/>
<NavItem
to="/tasks"
title="Tasks"