fix: add interval 10 second
This commit is contained in:
@@ -59,7 +59,9 @@ export function useDevices() {
|
||||
} as unknown as Device;
|
||||
}
|
||||
},
|
||||
retry: false, // optional: biar ga retry berkali-kali
|
||||
retry: false,
|
||||
refetchInterval: 10_000,
|
||||
refetchIntervalInBackground: true,
|
||||
})),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user