2
0

fix(editor): 🐛 Custom currency payment input

This commit is contained in:
Baptiste Arnaud
2022-05-27 09:55:51 -07:00
parent 30d36b9a09
commit 2cb8330790
7 changed files with 39 additions and 33 deletions

View File

@ -111,11 +111,11 @@ export const PaymentSettings = ({ options, onOptionsChange }: Props) => {
<Text>Currency:</Text>
<Select
placeholder="Select option"
value={options.currency.toLowerCase()}
value={options.currency}
onChange={handleCurrencyChange}
>
{currencies.map((currency) => (
<option value={currency.code.toLowerCase()} key={currency.code}>
<option value={currency.code} key={currency.code}>
{currency.code}
</option>
))}