Skip to content

Commit e89501c

Browse files
committed
fix home page navigation
1 parent 7b99e7d commit e89501c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/tdb-dashboard/src/components/IconBar.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ export const IconBar = ({setShowFeedbackForm}) => {
2828
return match ? `nav-icon nav-product-model nav-link active` : `nav-icon nav-product-model nav-link ${basecss}`
2929
}
3030

31-
// href="https://terminusdb.com"
31+
3232
return <Navbar fixed expand={false} className="pt-2 navbar navbar-dark bg-dark h-100 nav-icon-bar">
3333
<Nav defaultActiveKey={IconBarConfig.dataProductView.key} className="flex-column">
3434
<Nav.Item >
3535
<Nav.Link
36-
href={`/`}
37-
className="nav-icon"
36+
as={RouterNavLink}
37+
to={`/`}
38+
className="nav-icon bg-transparent"
3839
>
3940
{IconBarConfig.logo.img}
4041
</Nav.Link>

0 commit comments

Comments
 (0)