Update apps/explorer/src/app/hooks/use-fetch.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
This commit is contained in:
parent
4734131780
commit
329098bf02
@ -83,7 +83,6 @@ function useFetch<T = unknown>(
|
|||||||
return () => {
|
return () => {
|
||||||
cancelRequest.current = true;
|
cancelRequest.current = true;
|
||||||
};
|
};
|
||||||
// Do nothing if the url is not given
|
|
||||||
}, [fetchCallback]);
|
}, [fetchCallback]);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user