@@ -279,7 +279,6 @@ class RouterHook extends Logger {
279
279
private desktopRouterWrapper ( { children } : { children : ReactElement } ) {
280
280
// Used to store the new replicated routes we create to allow routes to be unpatched.
281
281
const { routes, routePatches } = useMillenniumRouterState ( ) ;
282
- console . log ( 'desktopRouterWrapper' , children , routes , routePatches ) ;
283
282
284
283
const mainRouteList = findInReactTree ( children , ( node ) => node ?. length > 2 && node ?. find ( ( elem : any ) => elem ?. props ?. path == '/console' ) ) ;
285
284
if ( ! mainRouteList ) {
@@ -288,14 +287,13 @@ class RouterHook extends Logger {
288
287
}
289
288
this . processList ( mainRouteList , routes , routePatches . get ( EUIMode . Desktop ) , true , this . DesktopRoute ) ;
290
289
const libraryRouteWrapper = mainRouteList . find ( ( r : any ) => r ?. props && 'cm' in r . props && 'bShowDesktopUIContent' in r . props ) ;
291
- console . log ( 'libraryRouteWrapper' , libraryRouteWrapper , mainRouteList ) ;
292
290
293
291
if ( ! this . wrappedDesktopLibraryMemo ) {
294
292
wrapReactType ( libraryRouteWrapper ) ;
295
293
afterPatch ( libraryRouteWrapper . type , 'type' , ( _ , ret ) => {
296
294
const { routePatches } = useMillenniumRouterState ( ) ;
297
295
const libraryRouteList = findInReactTree ( ret , ( node ) => node ?. length > 1 && node ?. find ( ( elem : any ) => elem ?. props ?. path == '/library/downloads' ) ) ;
298
- console . log ( 'libraryRouteList' , libraryRouteList , ret ) ;
296
+
299
297
if ( ! libraryRouteList ) {
300
298
this . warn ( 'failed to find library route list' , ret ) ;
301
299
return ret ;
0 commit comments