mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-10 21:15:04 +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) => {
|
||||
set((draft) => {
|
||||
draft.testStatus = "failure";
|
||||
});
|
||||
|
||||
toast.error(error.message);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user