0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

🐛 Fix unexpected memoization on viewer header.

This commit is contained in:
Andrey Antukh 2020-11-23 17:33:08 +01:00 committed by Alonso Torres
parent cc667d63cd
commit 76df21083e

View file

@ -200,6 +200,7 @@
{:page-id page-id})))
navigate
(mf/use-callback
(mf/deps file-id page-id)
(fn [section]
(st/emit!
(case section