diff --git a/client-solid/src/Navbar.tsx b/client-solid/src/Navbar.tsx index c4485b8..8e9285d 100644 --- a/client-solid/src/Navbar.tsx +++ b/client-solid/src/Navbar.tsx @@ -1,9 +1,10 @@ -import { useContext } from "solid-js"; +import { JSXElement, createEffect, createSignal, useContext } from "solid-js"; import { A } from "@solidjs/router"; import { LoginContext } from "./Root"; import { ModalContext } from "./Root"; -function MenuItem(props: { href: string; children: any }) { +// Represents a single list item in the menu bar +function MenuItem(props: { href: string; children: JSXElement }) { return (