mirror of
https://github.com/penpot/penpot.git
synced 2026-05-14 04:24:01 +00:00
🐛 Fix problem on finalize page
This commit is contained in:
parent
9d43bb4252
commit
7b72906096
@ -106,7 +106,7 @@
|
||||
(let [prev-page-id (hooks/use-previous page-id)]
|
||||
(mf/with-effect
|
||||
[page-id]
|
||||
(when (and page-id (not= prev-page-id page-id))
|
||||
(when (and prev-page-id (not= prev-page-id page-id))
|
||||
(st/emit! (dw/finalize-page prev-page-id)))
|
||||
|
||||
(if (nil? page-id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user