mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
add failure update to ai test status, when testing connection
This commit is contained in:
@@ -100,6 +100,10 @@ function AIForm() {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
|
set((draft) => {
|
||||||
|
draft.testStatus = "failure";
|
||||||
|
});
|
||||||
|
|
||||||
toast.error(error.message);
|
toast.error(error.message);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user