Update apps/explorer/src/app/hooks/use-fetch.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
This commit is contained in:
parent
329098bf02
commit
65ffa8519c
@ -73,6 +73,7 @@ function useFetch<T = unknown>(
|
||||
|
||||
void fetchData();
|
||||
|
||||
// Do nothing if the url is not given
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [url]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user