mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 05:01:40 +02:00
♻️ Refactor thumbnails
This commit is contained in:
parent
0721fc9d80
commit
0494dc843f
18 changed files with 259 additions and 460 deletions
|
@ -479,10 +479,10 @@
|
|||
(l/derived #(get % :workspace-thumbnails {}) st/state))
|
||||
|
||||
(defn thumbnail-frame-data
|
||||
[page-id frame-id]
|
||||
[frame-id]
|
||||
(l/derived
|
||||
(fn [thumbnails]
|
||||
(get thumbnails (dm/str page-id frame-id)))
|
||||
(get thumbnails (dm/str frame-id)))
|
||||
thumbnail-data))
|
||||
|
||||
(def workspace-text-modifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue