From afa511a03de1affc9398dc3bdfdd0f2a4528f8d9 Mon Sep 17 00:00:00 2001 From: Karim Gharbi Date: Sun, 9 Jun 2024 13:15:35 +0200 Subject: [PATCH] improve code readability --- .../components/recipeUpload/recipeUpload.tsx | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/recipeUpload/recipeUpload.tsx b/frontend/src/components/recipeUpload/recipeUpload.tsx index e58841e..b15ce34 100644 --- a/frontend/src/components/recipeUpload/recipeUpload.tsx +++ b/frontend/src/components/recipeUpload/recipeUpload.tsx @@ -201,33 +201,30 @@ return (
-
-
- - {[...Array(stepCounter)].map((_, index) => ( -
- handleStepChange(index, e.target.value)} - /> - -
- ))} +
+ + {[...Array(stepCounter)].map((_, index) => ( +
+ handleStepChange(index, e.target.value)} + /> +
- -
+ ))} +
+ +
Description
- - - +