From d2eede03c3e562425a48cb3b04b7aea06201fdc7 Mon Sep 17 00:00:00 2001 From: katty barroso Date: Tue, 14 Jan 2025 15:20:36 +0100 Subject: [PATCH] Fix date showing incorrect format --- centrifuge-app/src/components/Report/Orders.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centrifuge-app/src/components/Report/Orders.tsx b/centrifuge-app/src/components/Report/Orders.tsx index a317656b8..95842156f 100644 --- a/centrifuge-app/src/components/Report/Orders.tsx +++ b/centrifuge-app/src/components/Report/Orders.tsx @@ -27,7 +27,7 @@ const Orders = ({ pool }: { pool: Pool }) => { align: 'left', header: 'Date & Time', sortable: true, - formatter: (v: any) => formatDateAndTime(v), + formatter: (v: any) => (v ? formatDateAndTime(v) : '-'), width: '200px', }, {