Fix remove-browser event handler

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

View File

@ -70,4 +70,4 @@
[re-frame/trim-v]
(fn [{:keys [db]} [browser-id]]
{:db (update-in db [:browser/browsers] dissoc browser-id)
:remove-browser browser-id}))
:data-store/remove-browser browser-id}))