From d2acfef76dfdc3472e2f96f2e1e2bc8f45b11968 Mon Sep 17 00:00:00 2001 From: vickkie Date: Sat, 3 Aug 2024 03:12:51 +0100 Subject: [PATCH] fixed crash on system messgaing --- components/bottomsheets/HomeMenu.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/bottomsheets/HomeMenu.jsx b/components/bottomsheets/HomeMenu.jsx index b211563..088c42a 100644 --- a/components/bottomsheets/HomeMenu.jsx +++ b/components/bottomsheets/HomeMenu.jsx @@ -109,7 +109,12 @@ const HomeMenu = forwardRef((props, ref) => { - handleNavigation("Message")}> + { + userLogin ? handleNavigation("Message") : handleNavigation("Login"); + // handleNavigation("Message"); + }} + > Message Center