fix: add interval 10 second
This commit is contained in:
1 parent
846848383d
commit
2ce6a4ab8c
1 file changed
+3
-1
@@ -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