fixed use context error

This commit was merged in pull request #4.
This commit is contained in:
victorAnumudu
2025-09-09 17:40:41 +01:00
parent 59184d38aa
commit f2671c44a2
11 changed files with 20 additions and 21 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import { Link, useLocation } from "react-router-dom"
import Icons from "../../Icons"
import { generalLayoutContext } from "../../../context/GeneralLayoutContext"
import { GeneralLayoutContext } from "../../../context/GeneralLayoutContext"
export default function AsideLink({name, to, icon}) {
const {shrinkAside, setShowAsideDrawer} = generalLayoutContext()
const {shrinkAside, setShowAsideDrawer} = GeneralLayoutContext()
const {pathname} = useLocation()