We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5424e49 commit 2eee0c0Copy full SHA for 2eee0c0
packages/wallet/src/components/buy-crypto-drawer/index.tsx
@@ -77,14 +77,14 @@ export const BuyCryptoDrawer = (props: Props) => {
77
} = props
78
79
const [open, setOpen] = useState(false)
80
- const [network] = useState<NetworkOptions[0]>(NETWORKS[0])
81
- const [currency] = useState<Currency>({
+ const network: NetworkOptions[0] = NETWORKS[0]
+ const currency: Currency = {
82
contract_address: '',
83
code: 'EUR',
84
label: 'Euro',
85
network: 'ETHEREUM',
86
imageUrl: '/images/tokens/eur.png',
87
- })
+ }
88
89
const toast = useToast()
90
0 commit comments