mirror of
https://github.com/status-im/status-react.git
synced 2025-02-16 21:07:21 +00:00
fix App crashes when pressing on community link (#16019)
This commit is contained in:
parent
204c8996a3
commit
f38c85546f
@ -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]}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user