Commit fd212477 authored by Jordan Frankfurt's avatar Jordan Frankfurt

fix: json.stringify addresses (#52)

parent a16d2387
...@@ -91,12 +91,14 @@ export default function FiatOnrampModal() { ...@@ -91,12 +91,14 @@ export default function FiatOnrampModal() {
colorCode: theme.accentAction, colorCode: theme.accentAction,
defaultCurrencyCode: 'eth', defaultCurrencyCode: 'eth',
redirectUrl: 'https://app.uniswap.org/#/swap', redirectUrl: 'https://app.uniswap.org/#/swap',
walletAddresses: MOONPAY_SUPPORTED_CURRENCY_CODES.reduce( walletAddresses: JSON.stringify(
(acc, currencyCode) => ({ MOONPAY_SUPPORTED_CURRENCY_CODES.reduce(
...acc, (acc, currencyCode) => ({
[currencyCode]: account, ...acc,
}), [currencyCode]: account,
{} }),
{}
)
), ),
}), }),
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment