Wire Status page to API (retry specific edits)
cgen-a00590a287424552ad32930284083d02
This commit is contained in:
parent
b504b30317
commit
c663840c5e
1 changed files with 6 additions and 0 deletions
|
|
@ -175,6 +175,12 @@ export default function Status() {
|
|||
setIsRefreshing(false);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
fetchStatus();
|
||||
const t = setInterval(fetchStatus, 60000);
|
||||
return () => clearInterval(t);
|
||||
}, []);
|
||||
|
||||
const overall = getOverallStatus();
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue