mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
Remove unneeded state
This commit is contained in:
parent
33131fa943
commit
05f6cfc4b0
1 changed files with 0 additions and 7 deletions
|
@ -118,13 +118,6 @@
|
|||
;; Allow setting token to already used name
|
||||
(disj (:name token)))))
|
||||
|
||||
;; State
|
||||
state* (mf/use-state (merge {:name ""
|
||||
:value ""
|
||||
:description ""}
|
||||
token))
|
||||
state @state*
|
||||
|
||||
form-touched (mf/use-state nil)
|
||||
update-form-touched (mf/use-callback
|
||||
(debounce #(reset! form-touched (js/Symbol)) 120))
|
||||
|
|
Loading…
Reference in a new issue