Refactor settings management and add mutation error handling
All checks were successful
Deploy to production / build (push) Successful in 18s
All checks were successful
Deploy to production / build (push) Successful in 18s
This commit is contained in:
@@ -99,10 +99,12 @@ export function WolClients() {
|
||||
body={
|
||||
<form
|
||||
onSubmit={form.onSubmit((values) => {
|
||||
void mutateAsync({
|
||||
mutateAsync({
|
||||
method: 'POST',
|
||||
endpoint: endpoint,
|
||||
body: values,
|
||||
}).catch((error) => {
|
||||
console.error(error);
|
||||
});
|
||||
handleClose();
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user