From 52094bdbf372569bb260a4c38c720c0b742529c4 Mon Sep 17 00:00:00 2001 From: MaryWylde Date: Thu, 12 Mar 2026 16:12:33 +0400 Subject: [PATCH] hotfix: prevent undefined state of longevity mobile navigation --- src/components/longevity/MobileNavigation/MobileNavigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/longevity/MobileNavigation/MobileNavigation.tsx b/src/components/longevity/MobileNavigation/MobileNavigation.tsx index 2afd249..e61feda 100644 --- a/src/components/longevity/MobileNavigation/MobileNavigation.tsx +++ b/src/components/longevity/MobileNavigation/MobileNavigation.tsx @@ -249,7 +249,7 @@ const MobileNavigation: FC = () => { onClick={() => nextPathname && router.push(nextPathname.path)} > {nextBtn}{' '} - {nextPathname.name} + {nextPathname?.name} );