Skip to content

Commit 6bb5b3a

Browse files
committed
fix typos and vue
1 parent c1ed26e commit 6bb5b3a

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

apps/frontend/src/components/ui/dashboard/WithdrawFeeBreakdown.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
<template v-if="isGiftCard && shouldShowExchangeRate">
1212
<div class="flex items-center justify-between">
1313
<span class="text-primary">{{ formatMessage(messages.feeBreakdownGiftCardValue) }}</span>
14-
<span class="font-semibold text-contrast">{{ formatMoney(amountInUsd) }} ({{ formattedLocalCurrencyAmount }})</span>
14+
<span class="font-semibold text-contrast"
15+
>{{ formatMoney(amountInUsd) }} ({{ formattedLocalCurrencyAmount }})</span
16+
>
1517
</div>
1618
</template>
1719
<template v-else>
@@ -110,7 +112,7 @@ const netAmountInLocalCurrency = computed(() => {
110112
111113
const localCurrencyAmount = computed(() => {
112114
if (!shouldShowExchangeRate.value) return null
113-
return (props.amount || 0)
115+
return props.amount || 0
114116
})
115117
116118
const formattedLocalCurrency = computed(() => {
@@ -130,8 +132,7 @@ const formattedLocalCurrency = computed(() => {
130132
})
131133
132134
const formattedLocalCurrencyAmount = computed(() => {
133-
if (!shouldShowExchangeRate.value || !localCurrencyAmount.value || !props.localCurrency)
134-
return ''
135+
if (!shouldShowExchangeRate.value || !localCurrencyAmount.value || !props.localCurrency) return ''
135136
136137
try {
137138
return new Intl.NumberFormat('en-US', {

apps/frontend/src/components/ui/dashboard/withdraw-stages/TremendousDetailsStage.vue

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@
9292
<span v-if="selectedMethodDetails" class="text-secondary">
9393
{{
9494
formatMoney(
95-
selectedMethodCurrencyCode && selectedMethodCurrencyCode !== 'USD' && selectedMethodExchangeRate
95+
selectedMethodCurrencyCode &&
96+
selectedMethodCurrencyCode !== 'USD' &&
97+
selectedMethodExchangeRate
9698
? (fixedDenominationMin ?? effectiveMinAmount) / selectedMethodExchangeRate
9799
: (fixedDenominationMin ?? effectiveMinAmount),
98100
)
@@ -108,7 +110,9 @@
108110
min,
109111
{{
110112
formatMoney(
111-
selectedMethodCurrencyCode && selectedMethodCurrencyCode !== 'USD' && selectedMethodExchangeRate
113+
selectedMethodCurrencyCode &&
114+
selectedMethodCurrencyCode !== 'USD' &&
115+
selectedMethodExchangeRate
112116
? (fixedDenominationMax ??
113117
selectedMethodDetails.interval?.standard?.max ??
114118
effectiveMaxAmount) / selectedMethodExchangeRate
@@ -133,9 +137,12 @@
133137
v-if="selectedMethodDetails && effectiveMinAmount > roundedMaxAmount"
134138
class="text-sm text-red"
135139
>
136-
You need at least {{
140+
You need at least
141+
{{
137142
formatMoney(
138-
selectedMethodCurrencyCode && selectedMethodCurrencyCode !== 'USD' && selectedMethodExchangeRate
143+
selectedMethodCurrencyCode &&
144+
selectedMethodCurrencyCode !== 'USD' &&
145+
selectedMethodExchangeRate
139146
? effectiveMinAmount / selectedMethodExchangeRate
140147
: effectiveMinAmount,
141148
)

scripts/i18n-import-check.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function analyzeFile(filePath: string): FileIssue[] {
298298
}
299299
}
300300
} catch {
301-
// Silent fail for unparseable files
301+
// Silent fail for unparsable files
302302
}
303303

304304
return issues

0 commit comments

Comments
 (0)