mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 14:12:07 +02:00
Add mutationKey everywhere
This commit is contained in:
@@ -14,6 +14,7 @@ export function useExportData() {
|
||||
const toast = useToast();
|
||||
|
||||
return useMutation({
|
||||
mutationKey: ['export_data'],
|
||||
onError: (err: string) => {
|
||||
alert({ id: 'export-failed', title: 'Export Failed', body: err });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user