Skip to content

Commit f296f00

Browse files
committed
fix(nav): do not reload page
1 parent f010bf0 commit f296f00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/component/Sidebar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const Sidebar = () => {
2222
</header>
2323
<nav>
2424
<span></span>
25-
<a href="#" class="close">
25+
<a href="/#" class="close">
2626
<Close size={20} />
2727
</a>
2828
</nav>
@@ -44,15 +44,15 @@ const SidebarContent = (props: ParentProps<{ class?: string }>) => (
4444

4545
const SidebarNav = () => (
4646
<nav class="sidebar">
47-
<a href="#" class="button white">
47+
<a href="/#" class="button white">
4848
<img
4949
src="../assets/logo.svg"
5050
class="logo"
5151
alt="hello.nrfcloud.com logo"
5252
/>
5353
</a>
5454
<hr />
55-
<a class="button warning" href="#warning">
55+
<a class="button warning" href="/#warning">
5656
<Warning strokeWidth={2} size={32} />
5757
</a>
5858
</nav>

0 commit comments

Comments
 (0)