[fix 5950] closing browser redirects to home

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2018-09-24 12:17:27 +02:00
parent df51731fca
commit f0980ab7f7
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
[toolbar.view/toolbar {}
[toolbar.view/nav-button-with-count
(actions/close (fn []
(re-frame/dispatch [:navigate-back])
(re-frame/dispatch [:navigate-to :home])
(when error?
(re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))]
[toolbar-content url browser url-editing?]