Skip to content

Commit

Permalink
Merge branch '332-generate-bounty-idea' of https://github.com/whtsupb…
Browse files Browse the repository at this point in the history
…ab3/poidh-app into 332-generate-bounty-idea
  • Loading branch information
whtsupbab3 committed Dec 10, 2024
2 parents 0ce4997 + 8f5f4c8 commit d8d8660
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/components/global/FormBounty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,12 @@ export default function FormBounty({
type='text'
value={name}
onChange={(e) => setName(e.target.value)}
className='border py-2 px-2 rounded-md mb-4 bg-transparent border-[#D1ECFF] disabled:cursor-not-allowed disabled:animate-pulse'
className={cn(
'border py-2 px-2 rounded-md mb-4 bg-transparent border-[#D1ECFF]',
generateBountyMutation.isPending
? 'cursor-not-allowed animate-pulse'
: ''
)}
/>
<span
className={cn(
Expand All @@ -184,8 +189,13 @@ export default function FormBounty({
rows={3}
value={description}
onChange={(e) => setDescription(e.target.value)}
className='border py-2 px-2 rounded-md mb-4 max-h-28 bg-transparent border-[#D1ECFF] disabled:cursor-not-allowed disabled:animate-pulse'
/>
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'
: ''
)}
></textarea>

<span>reward</span>
<input
Expand Down

0 comments on commit d8d8660

Please sign in to comment.