From c46a3ee7ea3e07818480430f67eed3ce318302de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoni=20Nu=C3=B1ez=20Romeu?= Date: Tue, 7 Jul 2026 01:16:06 +0200 Subject: [PATCH] fix: Mis Direcciones now shows address history instead of notifications --- apps/frontend-mobile/app/(tabs)/profile.tsx | 4 ++-- apps/frontend/src/views/ProfileView.jsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 */}
- +
{searchHistory.length > 0 && (