feat: enhance UI and functionality in various components

This commit is contained in:
CaIon
2026-04-28 18:38:02 +08:00
parent fc377dae3e
commit 28f7e9eb2e
40 changed files with 1567 additions and 470 deletions
@@ -115,10 +115,9 @@ export function RedemptionsMutateDrawer({
form.setValue('expired_time', newDate)
}
const { config: currencyConfig, meta: currencyMeta } = getCurrencyDisplay()
const { meta: currencyMeta } = getCurrencyDisplay()
const currencyLabel = getCurrencyLabel()
const tokensOnly =
!currencyConfig.displayInCurrency || currencyMeta.kind === 'tokens'
const tokensOnly = currencyMeta.kind === 'tokens'
const quotaLabel = t('Quota ({{currency}})', { currency: currencyLabel })
const quotaPlaceholder = tokensOnly
? t('Enter quota in tokens')