diff --git a/frontend/dist/index.html b/frontend/dist/index.html index e979baf..f3601de 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -21,7 +21,7 @@ - + diff --git a/frontend/src/pages/LandingPage.tsx b/frontend/src/pages/LandingPage.tsx index 5487446..99ec120 100644 --- a/frontend/src/pages/LandingPage.tsx +++ b/frontend/src/pages/LandingPage.tsx @@ -661,7 +661,12 @@ export const LandingPage: React.FC = ({ isOpen={isLoginModalOpen} onClose={() => setIsLoginModalOpen(false)} onSwitchToSignup={onGoToSignup} - onLoginSuccess={onLoginSuccess} + onLoginSuccess={(loggedInUser) => { + setIsLoginModalOpen(false); + if (onLoginSuccess) { + onLoginSuccess(loggedInUser); + } + }} /> {/* Report Business Modal */}