diff --git a/src/routes/routes.ts b/src/routes/routes.ts index d6a4e39..3089b69 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -17,15 +17,7 @@ export function makeRouter(auth: string | null) { try { const routeConfigs = getRoutes(auth); - console.log( - "Creating router with routes:", - routeConfigs.length, - "auth:", - !!auth - ); - if (routeConfigs.length === 0) { - console.log("No routes found, adding default Auth route"); routeConfigs.push({ path: "/", component: Auth }); } @@ -57,7 +49,6 @@ export function makeRouter(auth: string | null) { defaultPreload: "intent", }); - console.log("Router created successfully"); return router; } catch (error) { console.error("Error creating router:", error);