mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 00:01:51 -05:00
✨ Reset the recovery request form on submit
This commit is contained in:
parent
c4aba025c4
commit
92d3015d24
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
||||||
params (with-meta cdata
|
params (with-meta cdata
|
||||||
{:on-success #(on-success cdata %)
|
{:on-success #(on-success cdata %)
|
||||||
:on-error #(on-error cdata %)})]
|
:on-error #(on-error cdata %)})]
|
||||||
|
(reset! form nil)
|
||||||
(st/emit! (du/request-profile-recovery params)))))]
|
(st/emit! (du/request-profile-recovery params)))))]
|
||||||
|
|
||||||
[:& fm/form {:on-submit on-submit
|
[:& fm/form {:on-submit on-submit
|
||||||
|
|
Loading…
Add table
Reference in a new issue