[#8160] "this.props.onPress is not a function" on tapping back from transaction details screen

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2019-05-12 11:17:34 +02:00
parent 5d6d549511
commit 26390296b1
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 3 deletions

View File

@ -255,9 +255,7 @@
[react/view {:style components.styles/flex}
[status-bar/status-bar]
[toolbar/toolbar {}
[toolbar/nav-button (actions/back
;;TODO temporary fix to update wallet balance, should be fixed properly later
(utils/set-timeout #(re-frame/dispatch [:update-wallet]) 500))]
toolbar/default-nav-back
[toolbar/content-title (i18n/label :t/transaction-details)]
(when transaction [toolbar/actions (details-action hash url)])]
[react/scroll-view {:style components.styles/main-container}