Update apps/explorer/src/app/hooks/use-fetch.tsx

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
This commit is contained in:
Sam Keen 2022-03-03 14:39:13 +00:00 committed by Dexter Edwards
parent 329098bf02
commit 65ffa8519c

View File

@ -73,6 +73,7 @@ function useFetch<T = unknown>(
void fetchData(); void fetchData();
// Do nothing if the url is not given
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [url]); }, [url]);