diff --git a/src/tutorial/9-custom-hooks/setup/1-fetch-example.js b/src/tutorial/9-custom-hooks/setup/1-fetch-example.js index 994f88cb..c1783098 100644 --- a/src/tutorial/9-custom-hooks/setup/1-fetch-example.js +++ b/src/tutorial/9-custom-hooks/setup/1-fetch-example.js @@ -18,7 +18,7 @@ const Example = () => { useEffect(() => { getProducts() - }, [url]) + }, []) console.log(products) return (