Fix browser saving
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
8a7536df06
commit
0bf41ace67
|
@ -29,7 +29,7 @@
|
||||||
(defn add-browser-fx [{:keys [db now] :as cofx} browser]
|
(defn add-browser-fx [{:keys [db now] :as cofx} browser]
|
||||||
(let [new-browser (get-new-browser browser now)]
|
(let [new-browser (get-new-browser browser now)]
|
||||||
{:db (update-in db [:browser/browsers (:browser-id new-browser)] merge new-browser)
|
{: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
|
(handlers/register-handler-fx
|
||||||
:open-dapp-in-browser
|
:open-dapp-in-browser
|
||||||
|
|
Loading…
Reference in New Issue