AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): remove debug console.log statements (#12823)
slepybearea5cfdfa2e33
diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/TimezoneForm/TimezoneForm.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/TimezoneForm/TimezoneForm.tsxindex f09dc11afc..66a5cf6e75 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/TimezoneForm/TimezoneForm.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/TimezoneForm/TimezoneForm.tsx@@ -33,7 +33,6 @@ type Props = {};export function TimezoneForm({ user, currentTimezone = "not-set" }: Props) {- console.log("currentTimezone", currentTimezone);// If timezone is not set, try to detect it from the browserconst effectiveTimezone = React.useMemo(() => {if (currentTimezone === "not-set") {diff --git a/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsx b/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsxindex bd2da0fade..84b001b034 100644--- a/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsx+++ b/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsx@@ -96,7 +96,6 @@ export function EditAgentForm({control={form.control}name="category"render={({ field }) => {- console.log("Edit Category field value:", field.value);return (<Selectid={field.name}diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/components/WalletRefill.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/components/WalletRefill.tsxindex 4172046e6a..ab7e62d630 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/components/WalletRefill.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/components/WalletRefill.tsx@@ -59,8 +59,6 @@ export function WalletRefill() {resolver: zodResolver(autoRefillSchema),});- console.log("autoRefillForm");-// Pre-fill the auto-refill form with existing valuesuseEffect(() => {if (diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/useNavbar.ts b/autogpt_platform/frontend/src/components/layout/Navbar/useNavbar.tsindex 375155909f..ff91019f3c 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/useNavbar.ts+++ b/autogpt_platform/frontend/src/components/layout/Navbar/useNavbar.ts@@ -6,8 +6,6 @@ export function useNavbar() {const { isLoggedIn, isUserLoading } = useSupabase();const logoutInProgress = isLogoutInProgress();- console.log("isLoggedIn", isLoggedIn);-const {data: profileResponse,isLoading: isProfileLoading,