feat: add backend status down indicator (#3889)
This commit is contained in:
@ -12,7 +12,7 @@ const isAbortControllerSupported = () => {
|
||||
|
||||
const timeout = 60;
|
||||
const fetchWithTimeout = (input, init) => {
|
||||
if (init.signal || !isAbortControllerSupported()) {
|
||||
if ((init && init.signal) || !isAbortControllerSupported()) {
|
||||
return fetch(input, init);
|
||||
}
|
||||
const controller = new AbortController();
|
||||
|
Reference in New Issue
Block a user