From f38c85546f05f84b45f53d562a01a80e0f88258e Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Mon, 12 Jun 2023 22:39:22 +0530 Subject: [PATCH] fix App crashes when pressing on community link (#16019) --- src/status_im/utils/universal_links/core.cljs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/status_im/utils/universal_links/core.cljs b/src/status_im/utils/universal_links/core.cljs index 90c2c8ec68..99f7747773 100644 --- a/src/status_im/utils/universal_links/core.cljs +++ b/src/status_im/utils/universal_links/core.cljs @@ -84,16 +84,15 @@ (rf/defn handle-navigation-to-desktop-community-from-mobile {:events [:handle-navigation-to-desktop-community-from-mobile]} - [{:keys [db]} cofx deserialized-key] - (navigation/navigate-to cofx :community {:community-id deserialized-key})) - + [cofx deserialized-key] + (navigation/navigate-to cofx :community-overview deserialized-key)) (rf/defn handle-desktop-community [cofx {:keys [community-id]}] (native-module/deserialize-and-compress-key community-id (fn [deserialized-key] - (rf/dispatch [:handle-navigation-to-desktop-community-from-mobile cofx (str deserialized-key)])))) + (rf/dispatch [:handle-navigation-to-desktop-community-from-mobile (str deserialized-key)])))) (rf/defn handle-community-chat [cofx {:keys [chat-id]}]