Fix browser saving

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Stepan Lusnikov 2018-04-09 12:09:17 +08:00 committed by Andrey Shovkoplyas
parent 8a7536df06
commit 0bf41ace67
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
(defn add-browser-fx [{:keys [db now] :as cofx} browser]
(let [new-browser (get-new-browser browser now)]
{:db (update-in db [:browser/browsers (:browser-id new-browser)] merge new-browser)
:save-browser new-browser}))
:data-store/save-browser new-browser}))
(handlers/register-handler-fx
:open-dapp-in-browser