We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d636bf commit 39db9d7Copy full SHA for 39db9d7
apps/class-solid/src/components/Nav.tsx
@@ -1,4 +1,4 @@
1
-import { useLocation } from "@solidjs/router";
+import { A, useLocation } from "@solidjs/router";
2
import { saveToLocalStorage } from "~/lib/state";
3
import { ShareButton } from "./ShareButton";
4
import { MdiContentSave } from "./icons";
@@ -13,11 +13,11 @@ export default function Nav() {
13
<nav class="bg-sky-800">
14
<ul class="container flex items-center gap-4 p-3 text-gray-200">
15
<li class={`border-b-2 ${active("/")}l`}>
16
- <a href="/">CLASS</a>
+ <A href="/">CLASS</A>
17
</li>
18
<li class=" w-full" />
19
<li class={`border-b-2 ${active("/about")}`}>
20
- <a href="/about">About</a>
+ <A href="/about">About</A>
21
22
<li>
23
<button
0 commit comments