chore: remove comments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user