From 26390296b1a1d032d7c2fed2d5d46f126c3b5348 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Sun, 12 May 2019 11:17:34 +0200 Subject: [PATCH] [#8160] "this.props.onPress is not a function" on tapping back from transaction details screen Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/wallet/transactions/views.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/status_im/ui/screens/wallet/transactions/views.cljs b/src/status_im/ui/screens/wallet/transactions/views.cljs index 9648074b47..c668a93c30 100644 --- a/src/status_im/ui/screens/wallet/transactions/views.cljs +++ b/src/status_im/ui/screens/wallet/transactions/views.cljs @@ -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}