File tree 3 files changed +18
-17
lines changed
src/status_im/contexts/communities/actions
3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 52
52
(rf/dispatch
53
53
[:standard-auth/authorize
54
54
{:on-auth-success (fn [password]
55
- [:dispatch
56
- [:communities/request-to-join-with-addresses
57
- {:community-id id
58
- :password password}]])
55
+ ( rf/dispatch [:dispatch
56
+ [:communities/request-to-join-with-addresses
57
+ {:community-id id
58
+ :password password}]]) )
59
59
:on-auth-fail (fn [err]
60
60
(log/info " Biometric authentication failed" err)
61
61
(rf/dispatch
Original file line number Diff line number Diff line change 40
40
(rf/dispatch
41
41
[:hide-bottom-sheet ]))}]))}]))
42
42
:on-auth-success (fn [password]
43
- [:dispatch
44
- [:communities/edit-shared-addresses
45
- {:community-id community-id
46
- :password password
47
- :airdrop-address address
48
- :on-success (fn []
49
- (rf/dispatch [:dismiss-modal
50
- :address-for-airdrop ])
51
- (rf/dispatch
52
- [:hide-bottom-sheet ]))}]])}])
43
+ (rf/dispatch [:dispatch
44
+ [:communities/edit-shared-addresses
45
+ {:community-id community-id
46
+ :password password
47
+ :airdrop-address address
48
+ :on-success (fn []
49
+ (rf/dispatch
50
+ [:dismiss-modal
51
+ :address-for-airdrop ])
52
+ (rf/dispatch
53
+ [:hide-bottom-sheet ]))}]]))}])
53
54
(do
54
55
(rf/dispatch [:communities/set-airdrop-address community-id address])
55
56
(rf/dispatch [:hide-bottom-sheet ])))))]
Original file line number Diff line number Diff line change 17
17
(rf/dispatch
18
18
[:standard-auth/authorize
19
19
{:on-auth-success (fn [password]
20
- [:dispatch
21
- [:communities/request-to-join
22
- {:community-id id :password password}]])
20
+ ( rf/dispatch [:dispatch
21
+ [:communities/request-to-join
22
+ {:community-id id :password password}]]) )
23
23
:on-auth-fail (fn [err]
24
24
(log/info " Biometric authentication failed" err)
25
25
(rf/dispatch [:password-authentication/show
You can’t perform that action at this time.
0 commit comments