Skip to content

Commit

Permalink
Add ENS placeholder for addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
Pabl0cks committed Feb 8, 2024
1 parent 453f4cd commit e973931
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export const ContractInput = ({ setForm, form, stateObjectKey, paramType }: Cont
const renderInput = () => {
switch (paramType.type) {
case "address":
return <AddressInput {...inputProps} />;
const addressInputProps = { ...inputProps, placeholder: "address or ENS" };
return <AddressInput {...addressInputProps} />;
case "bytes32":
return <Bytes32Input {...inputProps} />;
case "bytes":
Expand Down

0 comments on commit e973931

Please sign in to comment.