remove unecessary listProfiles
This commit is contained in:
parent
fee57f3884
commit
ebaa38c08e
1 changed files with 0 additions and 8 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue