Skip to content

Commit

Permalink
fix(nav): do not reload page
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Feb 20, 2024
1 parent f010bf0 commit f296f00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/component/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Sidebar = () => {
</header>
<nav>
<span></span>
<a href="#" class="close">
<a href="/#" class="close">
<Close size={20} />
</a>
</nav>
Expand All @@ -44,15 +44,15 @@ const SidebarContent = (props: ParentProps<{ class?: string }>) => (

const SidebarNav = () => (
<nav class="sidebar">
<a href="#" class="button white">
<a href="/#" class="button white">
<img
src="../assets/logo.svg"
class="logo"
alt="hello.nrfcloud.com logo"
/>
</a>
<hr />
<a class="button warning" href="#warning">
<a class="button warning" href="/#warning">
<Warning strokeWidth={2} size={32} />
</a>
</nav>
Expand Down

0 comments on commit f296f00

Please sign in to comment.