mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 07:21:38 +02:00
✨ Upgrade rumext and add some examples of syntax sugar.
This commit is contained in:
parent
dcd53183a8
commit
c754a757eb
8 changed files with 67 additions and 89 deletions
|
@ -29,7 +29,8 @@
|
|||
|
||||
(mf/defc on-main-error
|
||||
[{:keys [error] :as props}]
|
||||
(mf/use-effect (st/emitf (rt/assign-exception error)))
|
||||
(mf/with-effect
|
||||
(st/emit! (rt/assign-exception error)))
|
||||
[:span "Internal application error"])
|
||||
|
||||
(mf/defc main-page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue