Skip to content

Commit

Permalink
cosmetic changesin Field
Browse files Browse the repository at this point in the history
Signed-off-by: Nishad <[email protected]>
  • Loading branch information
nishad-ayanworks committed Mar 20, 2024
1 parent c1d1ee4 commit c44413b
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/components/organization/WalletSpinup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,17 +412,10 @@ const SharedAgentForm = ({
<Label htmlFor="name" value="Wallet Label" />
<span className="text-red-500 text-xs">*</span>

<Field
id="label"
name="label"
className="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
type="text"
/>
{formikHandlers?.errors?.label &&
formikHandlers?.touched?.label && (
<span className="text-red-500 absolute text-xs">
{formikHandlers?.errors?.label}
</span>
<Field id="label" name="label" className="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
type="text"/>
{formikHandlers?.errors?.label && formikHandlers?.touched?.label && (
<span className="text-red-500 absolute text-xs">{formikHandlers?.errors?.label}</span>
)}
</div>
<div className="w-full flex justify-end">
Expand Down

0 comments on commit c44413b

Please sign in to comment.