- {paramType.name &&
{paramType.name}}
-
{paramType.type}
+
+
+ {paramType.name && {paramType.name}}
+ {paramType.type}
{renderInput()}
diff --git a/packages/nextjs/components/scaffold-eth/Contract/Tuple.tsx b/packages/nextjs/components/scaffold-eth/Contract/Tuple.tsx
index 0e3175db..6000d262 100644
--- a/packages/nextjs/components/scaffold-eth/Contract/Tuple.tsx
+++ b/packages/nextjs/components/scaffold-eth/Contract/Tuple.tsx
@@ -27,9 +27,9 @@ export const Tuple = ({ abiTupleParameter, setParentForm, parentStateObjectKey }
return (
-
+
-
+
{abiTupleParameter.internalType}
diff --git a/packages/nextjs/components/scaffold-eth/Contract/TupleArray.tsx b/packages/nextjs/components/scaffold-eth/Contract/TupleArray.tsx
index 1eb23c25..01f30322 100644
--- a/packages/nextjs/components/scaffold-eth/Contract/TupleArray.tsx
+++ b/packages/nextjs/components/scaffold-eth/Contract/TupleArray.tsx
@@ -97,15 +97,15 @@ export const TupleArray = ({ abiTupleParameter, setParentForm, parentStateObject
return (
-
+
-
+
{abiTupleParameter.internalType}
{additionalInputs.map((additionalInput, additionalIndex) => (
-
+
{depth > 1 ? `${additionalIndex}` : `tuple[${additionalIndex}]`}
diff --git a/packages/nextjs/components/scaffold-eth/Contract/WriteOnlyFunctionForm.tsx b/packages/nextjs/components/scaffold-eth/Contract/WriteOnlyFunctionForm.tsx
index 81f4b4cd..6311c642 100644
--- a/packages/nextjs/components/scaffold-eth/Contract/WriteOnlyFunctionForm.tsx
+++ b/packages/nextjs/components/scaffold-eth/Contract/WriteOnlyFunctionForm.tsx
@@ -103,10 +103,10 @@ export const WriteOnlyFunctionForm = ({
{inputs}
{abiFunction.stateMutability === "payable" ? (
-
-
-
value
-
(wei)
+
) : null}