From ea30a724dddf449f2dfde2c2341aac8b3ebf2dca Mon Sep 17 00:00:00 2001 From: malmen237 Date: Wed, 17 Apr 2024 07:05:54 +0200 Subject: [PATCH] fix: removed classname when icon not shown --- src/components/landing-page/create-production.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing-page/create-production.tsx b/src/components/landing-page/create-production.tsx index 09c80ffa..d2408ceb 100644 --- a/src/components/landing-page/create-production.tsx +++ b/src/components/landing-page/create-production.tsx @@ -153,7 +153,7 @@ export const CreateProduction = () => { required: "Line name is required", minLength: 1, })} - className="additional-line" + className={index === fields.length - 1 ? "additional-line" : ""} autoComplete="off" placeholder="Line Name" />