From 43b3a563442f43e176949a56962495ebd158a74c Mon Sep 17 00:00:00 2001 From: Alina Lytovchenko Date: Tue, 10 Dec 2024 09:36:35 -0800 Subject: [PATCH] fix: resolve PR comments --- src/components/global/FormBounty.tsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/components/global/FormBounty.tsx b/src/components/global/FormBounty.tsx index 75197be..9e42ba9 100644 --- a/src/components/global/FormBounty.tsx +++ b/src/components/global/FormBounty.tsx @@ -170,12 +170,7 @@ export default function FormBounty({ type='text' value={name} onChange={(e) => setName(e.target.value)} - className={cn( - 'border py-2 px-2 rounded-md mb-4 bg-transparent border-[#D1ECFF]', - generateBountyMutation.isPending - ? 'cursor-not-allowed animate-pulse' - : '' - )} + className='border py-2 px-2 rounded-md mb-4 bg-transparent border-[#D1ECFF] disabled:cursor-not-allowed disabled:animate-pulse' /> setDescription(e.target.value)} - className={cn( - 'border py-2 px-2 rounded-md mb-4 max-h-28 bg-transparent border-[#D1ECFF]', - generateBountyMutation.isPending - ? 'cursor-not-allowed animate-pulse' - : '' - )} + className='border py-2 px-2 rounded-md mb-4 max-h-28 bg-transparent border-[#D1ECFF] disabled:cursor-not-allowed disabled:animate-pulse' > reward