diff --git a/packages/nextjs/components/Step6.tsx b/packages/nextjs/components/Step6.tsx index 6c2c889..3768c65 100644 --- a/packages/nextjs/components/Step6.tsx +++ b/packages/nextjs/components/Step6.tsx @@ -46,6 +46,7 @@ export default function Step6() { const [sum, setSum] = useState(0); //suma total const [inputs, setInputs] = useState({}); // valores de los inputs const [attestations, setAttestations] = useState([]); // manejo atestaciones + // const [distributionAmount] = useState(0); // impresion cantidad distrib const GET_ATTESTERS = gql` query Attestations($schemaID: String!, $attesterAddress: String!) { @@ -85,6 +86,17 @@ export default function Step6() { setSum(sum); // muestra valor } + // Cantidad impresa imput + // function applyAmmout() { + // const updatedInputs = Object.keys(inputs).reduce((acc: { [key: string]: number }, key) => { + // acc[key] = distributionAmount; // asigno valor a cada imput + + // return acc; + // }, {}); + + // setInputs(updatedInputs); + // } + // cambio del imput function handleInput(e: any) { const { name, value } = e.target;