From 793ea66f39fd237b3e562f9983debcbef0c40992 Mon Sep 17 00:00:00 2001 From: Kirill Zhumarin Date: Thu, 15 Jan 2026 09:34:58 +0000 Subject: [PATCH] fix routing --- src/components/Layout/Sidebar/SidebarLink.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Layout/Sidebar/SidebarLink.tsx b/src/components/Layout/Sidebar/SidebarLink.tsx index 4067918..2d07e1f 100644 --- a/src/components/Layout/Sidebar/SidebarLink.tsx +++ b/src/components/Layout/Sidebar/SidebarLink.tsx @@ -1,5 +1,5 @@ import { Component } from "solid-js"; -import { useMatch } from "@solidjs/router"; +import { A, useMatch } from "@solidjs/router"; import { resolveURL } from "@/utils"; import clsx from "clsx"; @@ -12,12 +12,12 @@ export interface SidebarLinkProps { export const SidebarLink: Component = (props) => { const match = useMatch(() => resolveURL(props.href)); return ( - {props.label} - + ); };