Skip to content

Commit 3c8c7b7

Browse files
committed
Update RouterHook.tsx
1 parent 89fec51 commit 3c8c7b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

typescript-packages/client/src/hooks/router/RouterHook.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ class RouterHook extends Logger {
9797
await this.waitForUnlock();
9898
let routerNode = findRouterNode();
9999
while (!routerNode) {
100-
this.warn('Failed to find GamepadUI Router node, reattempting in 5 seconds.');
101-
await sleep(5000);
100+
await sleep(1);
102101
await this.waitForUnlock();
103102
routerNode = findRouterNode();
104103
}
@@ -133,7 +132,6 @@ class RouterHook extends Logger {
133132
});
134133
let routerNode = findRouterNode();
135134
while (!routerNode) {
136-
this.warn('Failed to find DesktopUI Router node, reattempting in 5 seconds.');
137135
await sleep(1);
138136
routerNode = findRouterNode();
139137
}

0 commit comments

Comments
 (0)