Skip to content

Commit

Permalink
Fix invalid schemas (#19548)
Browse files Browse the repository at this point in the history
* fix: account selection invalid schema definition

* fix: token-input invalid schema definition
  • Loading branch information
clauxx authored Apr 8, 2024
1 parent 32098d2 commit 5fba1db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/quo/components/wallet/token_input/schema.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
[:catn
[:props
[:map
[:token {:optional true} [:maybe :string :keyword]]
[:currency {:optional true} [:maybe :string :keyword]]
[:token {:optional true} [:maybe [:or :string :keyword]]]
[:currency {:optional true} [:maybe [:or :string :keyword]]]
[:error? {:optional true} [:maybe :boolean]]
[:title {:optional true} [:maybe :string]]
[:conversion {:optional true} [:maybe :double]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
[:cat
[:map {:closed true}
[:community-id string?]
[:password [:maybe [:or string? object?]]]
[:password [:maybe [:or string? security/?masked-password]]]
[:pub-key string?]
[:addresses-to-reveal
[:or [:set string?]
Expand Down

0 comments on commit 5fba1db

Please sign in to comment.