Skip to content

Commit

Permalink
fix: types for export csv code (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogurtandjam authored Jul 8, 2024
1 parent 33ff038 commit 9cedd5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/ExportHistoryDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ export const ExportHistoryDropdown = (props: ExportHistoryDropdownProps) => {
const fee = formatNumberOutput(fill.fee, OutputType.Fiat, {
decimalSeparator: LOCALE_DECIMAL_SEPARATOR,
groupSeparator: LOCALE_GROUP_SEPARATOR,
selectedLocale,
});

const price = formatNumberOutput(fill.price, OutputType.Fiat, {
decimalSeparator: LOCALE_DECIMAL_SEPARATOR,
groupSeparator: LOCALE_GROUP_SEPARATOR,
selectedLocale,
});

const total = formatNumberOutput(
Expand All @@ -65,6 +67,7 @@ export const ExportHistoryDropdown = (props: ExportHistoryDropdownProps) => {
{
decimalSeparator: LOCALE_DECIMAL_SEPARATOR,
groupSeparator: LOCALE_GROUP_SEPARATOR,
selectedLocale,
}
);

Expand Down Expand Up @@ -153,6 +156,7 @@ export const ExportHistoryDropdown = (props: ExportHistoryDropdownProps) => {
const amount = formatNumberOutput(transfer.size, OutputType.Fiat, {
decimalSeparator: LOCALE_DECIMAL_SEPARATOR,
groupSeparator: LOCALE_GROUP_SEPARATOR,
selectedLocale,
});

return {
Expand Down

0 comments on commit 9cedd5d

Please sign in to comment.