update dependencies

This commit is contained in:
AAGaming
2024-06-13 17:00:50 -04:00
parent 1de8c5915b
commit 259aabf82f
9 changed files with 1323 additions and 816 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class RouterHook extends Logger {
if (routes) {
if (!routeList[routerIndex - 1]?.length || routeList[routerIndex - 1]?.length !== routes.size) {
if (routeList[routerIndex - 1]?.length && routeList[routerIndex - 1].length !== routes.size) routerIndex--;
const newRouterArray: ReactElement[] = [];
const newRouterArray: (ReactElement | JSX.Element)[] = [];
routes.forEach(({ component, props }, path) => {
newRouterArray.push(
<Route path={path} {...props}>