Upgrade deps and build fixes

This commit is contained in:
Darren Clarke 2023-07-23 11:21:39 +02:00
parent 38d3e9349c
commit c99972a95b
19 changed files with 757 additions and 284 deletions

View file

@ -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();