mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 17:31:39 +02:00
♻️ Replace lentes with okulary (performance).
This commit is contained in:
parent
9649d67883
commit
cd61269cd5
28 changed files with 162 additions and 300 deletions
|
@ -12,7 +12,7 @@
|
|||
[beicon.core :as rx]
|
||||
[goog.events :as events]
|
||||
[goog.object :as gobj]
|
||||
[lentes.core :as l]
|
||||
[okulary.core :as l]
|
||||
[rumext.alpha :as mf]
|
||||
[uxbox.builtins.icons :as i]
|
||||
[uxbox.common.exceptions :as ex]
|
||||
|
@ -93,12 +93,10 @@
|
|||
;; --- Component: Viewer Page
|
||||
|
||||
(def viewer-data-ref
|
||||
(-> (l/key :viewer-data)
|
||||
(l/derive st/state)))
|
||||
(l/derived :viewer-data st/state))
|
||||
|
||||
(def viewer-local-ref
|
||||
(-> (l/key :viewer-local)
|
||||
(l/derive st/state)))
|
||||
(l/derived :viewer-local st/state))
|
||||
|
||||
(mf/defc viewer-page
|
||||
[{:keys [page-id index token] :as props}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue