This commit is contained in:
gpt-engineer-app[bot]
2026-01-11 05:54:30 +00:00
parent f173b9d403
commit c8fce6e4bd
2 changed files with 10 additions and 5 deletions
+2 -4
View File
@@ -147,12 +147,10 @@ if (isDev && !globalAny.__gatehouseFetchPatched) {
});
throw err;
}
};
};
}
// Check if we're in development mode
const isDev = import.meta.env.DEV;
// isDev is already declared at module level for the fetch patch
export default function ApiDevTools() {
const [isOpen, setIsOpen] = useState(false);
const [logs, setLogs] = useState<ApiLog[]>([...apiLogs]);