mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 08:16:10 +02:00
🐛 Properly handle invitations on login
This commit is contained in:
parent
eb57c2f980
commit
f64b1d3651
4 changed files with 52 additions and 37 deletions
|
@ -174,7 +174,6 @@
|
|||
[{:keys [options label form default data-test] :as props
|
||||
:or {default ""}}]
|
||||
(let [input-name (get props :name)
|
||||
|
||||
form (or form (mf/use-ctx form-ctx))
|
||||
value (or (get-in @form [:data input-name]) default)
|
||||
cvalue (d/seek #(= value (:value %)) options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue