From f82a26052b86952fe6a890c221f919b5797b6e8b Mon Sep 17 00:00:00 2001 From: Shashwat Singh Date: Sun, 17 Dec 2023 20:38:51 +0530 Subject: [PATCH] Fixed the place alignment --- .../components/Challenges/Challenge/index.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/layout/Challenges/components/Challenges/Challenge/index.tsx b/layout/Challenges/components/Challenges/Challenge/index.tsx index 2d07dc56..b7c93aaa 100644 --- a/layout/Challenges/components/Challenges/Challenge/index.tsx +++ b/layout/Challenges/components/Challenges/Challenge/index.tsx @@ -82,13 +82,11 @@ export default function Challenge(props: IProps) { ordinal = "th"; } return ( -

- +

+ {index + 1} - {ordinal} place - {props.prizes[index].name} + {ordinal} place -{" "} + {props.prizes[index].name}

);