From ebaa38c08efe45812ef87535a43684a6e4a5987e Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 18 Feb 2025 15:15:49 -0800 Subject: [PATCH] remove unecessary listProfiles --- gui/src/context/Auth.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gui/src/context/Auth.tsx b/gui/src/context/Auth.tsx index ef37a2d2b..4aa6a95b7 100644 --- a/gui/src/context/Auth.tsx +++ b/gui/src/context/Auth.tsx @@ -168,14 +168,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ [], ); - useEffect(() => { - ideMessenger.request("config/listProfiles", undefined).then((result) => { - if (result.status === "success") { - dispatch(updateProfilesThunk(result.content)); - } - }); - }, []); - useWebviewListener( "didChangeAvailableProfiles", async (data) => {