Commit 3af881d
Add key prop to CurrencySelector to force re-render on value change
Forces Preact to re-create the select element when currency changes,
ensuring the displayed value matches the controlled value prop.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b1d6fcf commit 3af881d
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments