From 157dfed16b362e8c8a729d541a3b5b0cbf147844 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 18 Jan 2024 14:25:40 +0100 Subject: [PATCH] Use first value --- apps/circuit-compiler/src/app/components/witness.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/circuit-compiler/src/app/components/witness.tsx b/apps/circuit-compiler/src/app/components/witness.tsx index 3dd794eafb..4b085fda2f 100644 --- a/apps/circuit-compiler/src/app/components/witness.tsx +++ b/apps/circuit-compiler/src/app/components/witness.tsx @@ -19,7 +19,7 @@ export function WitnessSection ({ plugin, signalInputs, status }: {plugin: Circo } setWitnessValues({ ...witnessValues, - [e.target.name]: value + [e.target.name]: value[0] }) }