0
Fork 0
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:
Florian Schroedl 2024-06-25 11:30:45 +02:00
parent 33131fa943
commit 05f6cfc4b0

View file

@ -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))