mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 15:09:10 -05:00
🐛 Fix problem on finalize page
This commit is contained in:
parent
9d43bb4252
commit
7b72906096
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue