Skip to content

Commit

Permalink
make chainSelect semi-controllable
Browse files Browse the repository at this point in the history
  • Loading branch information
frontendphil committed Jan 9, 2025
1 parent 3989735 commit 283653d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployables/app/app/components/ChainSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ChainSelect = ({ value, onChange }: Props) => (
label="Chain"
isMulti={false}
options={options}
value={options.find((op) => op.value === value)}
defaultValue={options.find((op) => op.value === value)}
onChange={(option) => {
invariant(option != null, 'Empty value selected as chain')

Expand Down

0 comments on commit 283653d

Please sign in to comment.