From b93fc8b557baed40a312b51196c600be3daaa6fd Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 26 Jul 2024 14:16:05 -0400 Subject: feat(toaster): render notifications in the quick access menu --- frontend/src/router-hook.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend/src/router-hook.tsx') diff --git a/frontend/src/router-hook.tsx b/frontend/src/router-hook.tsx index 4255f257..20d0a4a5 100644 --- a/frontend/src/router-hook.tsx +++ b/frontend/src/router-hook.tsx @@ -58,7 +58,6 @@ class RouterHook extends Logger { routerNode = findRouterNode(); } if (routerNode) { - this.debug('routerNode', routerNode); // Patch the component globally this.routerPatch = afterPatch(routerNode.elementType, 'type', this.handleRouterRender.bind(this)); // Swap out the current instance @@ -110,7 +109,7 @@ class RouterHook extends Logger { const { routes, routePatches } = useDeckyRouterState(); // TODO make more redundant if (!children?.props?.children?.[0]?.props?.children) { - console.log('routerWrapper wrong component?', children); + this.debug('routerWrapper wrong component?', children); return children; } const mainRouteList = children.props.children[0].props.children; -- cgit v1.2.3