diff --git a/front/react/src/pages/HomePage.js b/front/react/src/pages/HomePage.js index 91fac5ec..d326e733 100644 --- a/front/react/src/pages/HomePage.js +++ b/front/react/src/pages/HomePage.js @@ -34,7 +34,7 @@ const HomePage = () => { } }; fetchInvestorProfile(); - }, [isAuthenticated, toast]); + }, [isAuthenticated, isCustomer, toast]); const imageCardDetails = () => { if (!isAuthenticated) {