Skip to content

Commit d4c0d1a

Browse files
committed
chore: Remove dev logs
1 parent c07335a commit d4c0d1a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ class RouterHook extends Logger {
279279
private desktopRouterWrapper({ children }: { children: ReactElement }) {
280280
// Used to store the new replicated routes we create to allow routes to be unpatched.
281281
const { routes, routePatches } = useMillenniumRouterState();
282-
console.log('desktopRouterWrapper', children, routes, routePatches);
283282

284283
const mainRouteList = findInReactTree(children, (node) => node?.length > 2 && node?.find((elem: any) => elem?.props?.path == '/console'));
285284
if (!mainRouteList) {
@@ -288,14 +287,13 @@ class RouterHook extends Logger {
288287
}
289288
this.processList(mainRouteList, routes, routePatches.get(EUIMode.Desktop), true, this.DesktopRoute);
290289
const libraryRouteWrapper = mainRouteList.find((r: any) => r?.props && 'cm' in r.props && 'bShowDesktopUIContent' in r.props);
291-
console.log('libraryRouteWrapper', libraryRouteWrapper, mainRouteList);
292290

293291
if (!this.wrappedDesktopLibraryMemo) {
294292
wrapReactType(libraryRouteWrapper);
295293
afterPatch(libraryRouteWrapper.type, 'type', (_, ret) => {
296294
const { routePatches } = useMillenniumRouterState();
297295
const libraryRouteList = findInReactTree(ret, (node) => node?.length > 1 && node?.find((elem: any) => elem?.props?.path == '/library/downloads'));
298-
console.log('libraryRouteList', libraryRouteList, ret);
296+
299297
if (!libraryRouteList) {
300298
this.warn('failed to find library route list', ret);
301299
return ret;

0 commit comments

Comments
 (0)