{accountType
? `${
AccountTypeMapping[
accountType as keyof typeof Schema.AccountType
]
} Account`
: t('Select account type')}
{Object.keys(Schema.AccountType).map((type) => (
setAccountType(type as Schema.AccountType)}
>
{AccountTypeMapping[type as keyof typeof Schema.AccountType]}
))}
{asset ? asset.symbol : t('Select asset')}
{assets.map((a) => (
setAsset(a)}>
{a.symbol}
))}
) =>
setRange(e.target.value as keyof typeof DateRange)
}
/>