fix App crashes when pressing on community link (#16019)

This commit is contained in:
Parvesh Monu 2023-06-12 22:39:22 +05:30 committed by GitHub
parent 204c8996a3
commit f38c85546f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]}]