Upgrade deps and build fixes
This commit is contained in:
parent
38d3e9349c
commit
c99972a95b
19 changed files with 757 additions and 284 deletions
|
|
@ -101,8 +101,8 @@ interface SidebarProps {
|
|||
|
||||
export const Sidebar: FC<SidebarProps> = ({ open }) => {
|
||||
const t = useTranslate();
|
||||
const pathname = usePathname();
|
||||
const section = pathname.split("/")[1];
|
||||
const pathname = usePathname() ?? "";
|
||||
const section = pathname?.split("/")[1];
|
||||
const {
|
||||
colors: { white }, // leafcutterElectricBlue, leafcutterLightBlue,
|
||||
} = useAppContext();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue