From f0bc949616b3fd566b7509cb5ea01c4553667281 Mon Sep 17 00:00:00 2001 From: chavda-bhavik Date: Mon, 20 May 2024 15:40:12 +0530 Subject: [PATCH] feat: Formatted records count in title of delete message --- apps/widget/src/hooks/Phase3/usePhase3.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/widget/src/hooks/Phase3/usePhase3.tsx b/apps/widget/src/hooks/Phase3/usePhase3.tsx index 141fa0b0e..3687b0b8e 100644 --- a/apps/widget/src/hooks/Phase3/usePhase3.tsx +++ b/apps/widget/src/hooks/Phase3/usePhase3.tsx @@ -350,7 +350,7 @@ export function usePhase3({ onNext }: IUsePhase3Props) { message: `Successfully deleted ${numberFormatter(vars[1])} valid and ${numberFormatter( vars[2] )} invalid records. Total ${numberFormatter(vars[1] + vars[2])} records are deleted.`, - title: `${vars[1] + vars[2]} records deleted.`, + title: `${numberFormatter(vars[1] + vars[2])} records deleted.`, }); }, });