fix linting issues
This commit is contained in:
@@ -3,6 +3,7 @@ import { Link, useLocation } from "react-router-dom";
|
||||
|
||||
export function Navbar() {
|
||||
const location = useLocation();
|
||||
const { track } = useUmami();
|
||||
|
||||
const navItems = [
|
||||
{ label: "Home", path: "/" },
|
||||
@@ -11,7 +12,7 @@ export function Navbar() {
|
||||
];
|
||||
|
||||
const handleSwitch = (path: string) => {
|
||||
useUmami().track("nav_to_" + path.replaceAll("/", "_"));
|
||||
track("nav_to_" + path.replaceAll("/", "_"));
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user