diff options
| author | AAGaming <aagaming@riseup.net> | 2024-07-26 14:16:05 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-08-03 14:04:19 -0400 |
| commit | b93fc8b557baed40a312b51196c600be3daaa6fd (patch) | |
| tree | 9d5f45493d1262639ea7d53a3ce5fab472f5b3a7 /frontend/src/router-hook.tsx | |
| parent | 88e7919a12fd56b297e73afb3fb05483f5893f4d (diff) | |
| download | decky-loader-b93fc8b557baed40a312b51196c600be3daaa6fd.tar.gz decky-loader-b93fc8b557baed40a312b51196c600be3daaa6fd.zip | |
feat(toaster): render notifications in the quick access menu
Diffstat (limited to 'frontend/src/router-hook.tsx')
| -rw-r--r-- | frontend/src/router-hook.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
