diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index f090f9e..3676615 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -692,7 +692,8 @@ export default function Navbar({
label: 'My Profile',
icon: ,
action: () => {
- navigate(citySelected ? `/${slugify(cityName)}/profile` : '/profile');
+ // navigate(citySelected ? `/${slugify(cityName)}/profile` : '/profile');
+ navigate(citySelected ? `/profile` : '/profile');
setActiveUserDropdown(false);
}
},
diff --git a/src/pages/PaymentCancelPage.tsx b/src/pages/PaymentCancelPage.tsx
index 108cf7b..8c37f8b 100644
--- a/src/pages/PaymentCancelPage.tsx
+++ b/src/pages/PaymentCancelPage.tsx
@@ -23,9 +23,10 @@ export function PaymentCancelPage({
}: PaymentCancelPageProps) {
const navigate = useNavigate();
- // ✅ Clear pending booking ID when user cancels
+ // ✅ Clear stored booking ID when user cancels
useEffect(() => {
localStorage.removeItem('pendingBookingId');
+ sessionStorage.removeItem('pendingBookingId');
}, []);
return (
@@ -64,12 +65,20 @@ export function PaymentCancelPage({
You cancelled the payment process. No charges have been made.
-
+
+
+
+