diff --git a/apps/web/components/Forms/AllowListInput.tsx b/apps/web/components/Forms/AllowListInput.tsx index 2d9f6ac8..dd6a56e8 100644 --- a/apps/web/components/Forms/AllowListInput.tsx +++ b/apps/web/components/Forms/AllowListInput.tsx @@ -13,6 +13,7 @@ import { UseFormSetValue, } from "react-hook-form"; import { Address } from "viem"; +import { FormAddressInput } from "./FormAddressInput"; import { Button } from "../Button"; import { InfoWrapper } from "../InfoWrapper"; @@ -146,9 +147,9 @@ export function AllowListInput({ > - {inputMode === "single" ? -
- setNewAddress(e.target.value)} - required={required && addresses.length === 0} +
+ setNewAddress(e)} + value={newAddress} + className="w-full" />
:
@@ -206,8 +203,7 @@ export function AllowListInput({ className="" onClick={() => addAddresses(bulkAddresses)} > - Add Bulk - Addresses + Add Bulk Addresses
} @@ -252,6 +248,7 @@ export function AllowListInput({