diff --git a/apps/frontend-mobile/app/(tabs)/profile.tsx b/apps/frontend-mobile/app/(tabs)/profile.tsx index 3353067..03e5f20 100644 --- a/apps/frontend-mobile/app/(tabs)/profile.tsx +++ b/apps/frontend-mobile/app/(tabs)/profile.tsx @@ -228,11 +228,11 @@ export default function ProfileScreen() { {/* Menu Section */} - router.push('/saved')}> + Mis Direcciones - + {searchHistory.length > 0 && ( diff --git a/apps/frontend/src/views/ProfileView.jsx b/apps/frontend/src/views/ProfileView.jsx index 21d4332..af0fdb7 100644 --- a/apps/frontend/src/views/ProfileView.jsx +++ b/apps/frontend/src/views/ProfileView.jsx @@ -1,7 +1,7 @@ import React, { useEffect, useState, useRef } from 'react'; import './ProfileView.css'; -function ProfileView({ currentUser, onProfileSaved, onShowSaved, onLogout, onAdminClick }) { +function ProfileView({ currentUser, onProfileSaved, onLogout, onAdminClick }) { const [firstName, setFirstName] = useState(currentUser?.first_name || ''); const [lastName, setLastName] = useState(currentUser?.last_name || ''); const [avatarUrl, setAvatarUrl] = useState(currentUser?.avatar_url || ''); @@ -182,7 +182,7 @@ function ProfileView({ currentUser, onProfileSaved, onShowSaved, onLogout, onAdm {/* Search History Section */} - + @@ -192,7 +192,7 @@ function ProfileView({ currentUser, onProfileSaved, onShowSaved, onLogout, onAdm - + {searchHistory.length > 0 && (