diff options
Diffstat (limited to 'frontend/src/router-hook.tsx')
| -rw-r--r-- | frontend/src/router-hook.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/frontend/src/router-hook.tsx b/frontend/src/router-hook.tsx index 9612793a..8dcdd9b8 100644 --- a/frontend/src/router-hook.tsx +++ b/frontend/src/router-hook.tsx @@ -87,10 +87,10 @@ class RouterHook extends Logger { this.patchGamepadRouter(); break; // Not fully implemented yet - // case UIMode.Desktop: - // this.debug("Patching desktop router"); - // this.patchDesktopRouter(); - // break; + case UIMode.Desktop: + this.debug("Patching desktop router"); + this.patchDesktopRouter(); + break; default: this.warn(`Router patch not implemented for UI mode ${mode}`); break; @@ -131,7 +131,6 @@ class RouterHook extends Logger { } // Currently unused - // @ts-expect-error 6133 private async patchDesktopRouter() { const root = getReactRoot(document.getElementById('root') as any); const findRouterNode = () => |
