mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 05:18:21 +02:00
⬆️ Upgrade to beicon2 (part1)
This commit is contained in:
parent
ecee15af5b
commit
96f5a33f5f
151 changed files with 482 additions and 433 deletions
|
@ -8,7 +8,7 @@
|
|||
(:require
|
||||
[app.main.ui.hooks :as hooks]
|
||||
[app.util.http :as http]
|
||||
[beicon.core :as rx]
|
||||
[beicon.v2.core :as rx]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
(def context (mf/create-context false))
|
||||
|
@ -37,7 +37,7 @@
|
|||
(rx/filter some?)
|
||||
(url-mapping)
|
||||
(rx/reduce conj {})
|
||||
(rx/subs (fn [data]
|
||||
(rx/subs! (fn [data]
|
||||
(when-not (= data (mf/ref-val uri-data))
|
||||
(mf/set-ref-val! uri-data data)
|
||||
(reset! state inc)))))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue