Added SettingsContext.
This commit is contained in:
1 parent
3f657d97b2
commit
4fca98d25d
22 files changed
+106
-83
No files matched your search
@@ -21,7 +21,7 @@ export function UserAddForm({ onSave, onClose }) {
|
||||
});
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
||||
const handleSubmit = async data => {
|
||||
const handleSubmit = async (data: any) => {
|
||||
mutate(data, {
|
||||
onSuccess: async () => {
|
||||
onSave(data);
|
||||
|
||||
Reference in new issue
Block a user