diff --git a/src/components/earn/report/EarnReportSheet.tsx b/src/components/earn/report/EarnReportSheet.tsx index 121b1ea4..2157cbe8 100644 --- a/src/components/earn/report/EarnReportSheet.tsx +++ b/src/components/earn/report/EarnReportSheet.tsx @@ -98,14 +98,12 @@ export const EarnReportSheet = ({ open, onOpenChange }: EarnReportSheetProps) => }), columnHelper.accessor('earnedAmount', { header: () =>
{t('earn.report.heading_earned')}
, - cell: (info) => - info.getValue() != null ? : undefined, + cell: (info) => (info.getValue() != null ? : undefined), meta: { align: 'right', numeric: true } as EarnReportColumnMeta, }), columnHelper.accessor('cjTotalAmount', { header: () =>
{t('earn.report.heading_cj_amount')}
, - cell: (info) => - info.getValue() != null ? : undefined, + cell: (info) => (info.getValue() != null ? : undefined), meta: { align: 'right', numeric: true } as EarnReportColumnMeta, }), columnHelper.accessor('inputCount', { @@ -115,8 +113,7 @@ export const EarnReportSheet = ({ open, onOpenChange }: EarnReportSheetProps) => }), columnHelper.accessor('inputAmount', { header: () =>
{t('earn.report.heading_input_value')}
, - cell: (info) => - info.getValue() != null ? : undefined, + cell: (info) => (info.getValue() != null ? : undefined), meta: { align: 'right', numeric: true } as EarnReportColumnMeta, }), columnHelper.accessor('notes', { @@ -213,7 +210,7 @@ export const EarnReportSheet = ({ open, onOpenChange }: EarnReportSheetProps) => ) : ( -
+
{/* Stats row */}
{( @@ -224,11 +221,11 @@ export const EarnReportSheet = ({ open, onOpenChange }: EarnReportSheetProps) => { label: t('earn.report.stats.earned_24hours'), value: earned24Hours }, ] as const ).map((stat) => ( - - + +
{stat.label}
-
- +
+