diff --git a/gui/src/context/Auth.tsx b/gui/src/context/Auth.tsx index 03856874a..967db1321 100644 --- a/gui/src/context/Auth.tsx +++ b/gui/src/context/Auth.tsx @@ -165,7 +165,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ useEffect(() => { ideMessenger.request("config/listProfiles", undefined).then((result) => { if (result.status === "success") { - console.log("PROFILES: ", result.content); dispatch( updateProfilesThunk({ profiles: result.content, @@ -179,7 +178,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ useWebviewListener( "didChangeAvailableProfiles", async (data) => { - console.log("AVAILABLE: ", data.profiles, data.selectedProfileId); dispatch( updateProfilesThunk({ profiles: data.profiles, diff --git a/gui/src/hooks/useSetup.ts b/gui/src/hooks/useSetup.ts index 714f4ed75..b86757cbf 100644 --- a/gui/src/hooks/useSetup.ts +++ b/gui/src/hooks/useSetup.ts @@ -45,7 +45,6 @@ function useSetup() { } hasLoadedConfig.current = true; dispatch(setConfigResult(configResult)); - console.log("selecting 1", profileId); dispatch(selectProfileThunk(profileId)); // Perform any actions needed with the config @@ -95,7 +94,6 @@ function useSetup() { useWebviewListener( "configUpdate", async (update) => { - console.log("CONFIG UPDATE: ", update); if (!update) { return; } diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx index f187c1067..b7d8c5829 100644 --- a/gui/src/pages/config/index.tsx +++ b/gui/src/pages/config/index.tsx @@ -45,7 +45,6 @@ function ConfigPage() { } = useAuth(); const changeProfileId = (id: string) => { - console.log("selecting 2", id); dispatch(selectProfileThunk(id)); }; diff --git a/gui/src/redux/thunks/profileAndOrg.ts b/gui/src/redux/thunks/profileAndOrg.ts index 6632b77ab..82a9602c0 100644 --- a/gui/src/redux/thunks/profileAndOrg.ts +++ b/gui/src/redux/thunks/profileAndOrg.ts @@ -25,12 +25,6 @@ export const selectProfileThunk = createAsyncThunk< let newId = id; - console.log( - "Running Thunk: ", - initialId, - newId, - state.session.availableProfiles, - ); // If no profiles, force clear if (state.session.availableProfiles.length === 0) { newId = null; @@ -49,12 +43,6 @@ export const selectProfileThunk = createAsyncThunk< } // Only update if there's a change - console.log( - "update selected profile?", - newId, - initialId, - state.session.availableProfiles, - ); if ((newId ?? null) !== (initialId ?? null)) { dispatch( setSelectedProfile( @@ -103,7 +91,6 @@ export const updateProfilesThunk = createAsyncThunk< dispatch(setAvailableProfiles(profiles)); // This will trigger reselection if needed - console.log("selecting 3", selectedProfileId); dispatch(selectProfileThunk(selectedProfileId)); });