Added API to map with markers in main page
All checks were successful
Build frontend / build (push) Successful in 53s

This commit is contained in:
Rahaf
2026-05-02 17:20:35 +03:00
parent 1198c18004
commit 46cbce1d88
3 changed files with 133 additions and 39 deletions

View File

@ -67,7 +67,9 @@ export default function HeroSearch({ onSearch, isAuthenticated }) {
setActiveTab(tab);
if ((tab === 'rent' || tab === 'sell') && !isAuthenticated) {
setShowLoginDialog(true);
return;
}
handleSearch();
};
const handleSearch = () => {