Error message if the delete fails
This commit is contained in:
parent
4ec49c4966
commit
76b321accd
11 changed files with 111 additions and 43 deletions
|
|
@ -57,7 +57,7 @@ const Notifications = ({
|
|||
const [saveConfig] = useMutation(SAVE_CONFIG, {
|
||||
refetchQueries: ['getData'],
|
||||
onCompleted: () => setEditingKey(null),
|
||||
onError: error => setError({ error })
|
||||
onError: error => setError(error)
|
||||
})
|
||||
|
||||
const config = fromNamespace(SCREEN_KEY)(data?.config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue