From d4becc90aac6110777d82909fb987338472d21a0 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 23 Sep 2024 17:47:04 +0530 Subject: [PATCH] feat: capitalize first letter --- src/components/molecules/InterpretationButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/InterpretationButtons.tsx b/src/components/molecules/InterpretationButtons.tsx index 0a146810..b61866e3 100644 --- a/src/components/molecules/InterpretationButtons.tsx +++ b/src/components/molecules/InterpretationButtons.tsx @@ -81,7 +81,7 @@ export const InterpretationButtons = ({ enableStepping }: InterpretationButtonsP Your previous action was: - {decisionModal.action}, on an element with text {decisionModal.innerText} + {decisionModal.action.charAt(0).toUpperCase() }, on an element with text {decisionModal.innerText} );