diff --git a/components/ExampleComponent.tsx b/components/ExampleComponent.tsx index b96af43..bf9df55 100644 --- a/components/ExampleComponent.tsx +++ b/components/ExampleComponent.tsx @@ -3,7 +3,7 @@ import React, { useEffect } from 'react'; const ExampleComponent = () => { useEffect(() => { console.log('ExampleComponent mounted'); - }, []); + }, [dog]); return (