From 8ae8de96120a1c34b0c1e404ab1dc6c8c739f1bb Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Thu, 25 Aug 2022 14:16:30 +1200 Subject: [PATCH] Underline current workout in SetForm --- SetForm.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/SetForm.tsx b/SetForm.tsx index 0866e77..7d46af4 100644 --- a/SetForm.tsx +++ b/SetForm.tsx @@ -90,12 +90,16 @@ export default function SetForm({ )} {workouts?.map((workout, index) => ( - - {workout} + + + {workout} + {index === workouts.length - 1 ? '.' : ', '} - + ))}