mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 14:59:42 +02:00
Switch to useMutation in some places
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useMutation } from './useMutation';
|
||||
import { useFastMutation } from './useFastMutation';
|
||||
import type {
|
||||
Environment,
|
||||
Folder,
|
||||
@@ -75,7 +75,7 @@ export function useImportData() {
|
||||
return true;
|
||||
};
|
||||
|
||||
return useMutation({
|
||||
return useFastMutation({
|
||||
mutationKey: ['import_data'],
|
||||
onError: (err: string) => {
|
||||
alert({
|
||||
|
||||
Reference in New Issue
Block a user