Skip to content

Commit a712a36

Browse files
committed
feat(customNextPage.js): call zkProgram.update
1 parent a368b90 commit a712a36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/ui/next/customNextPage.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ export default function Home() {
9393
}, []);
9494
9595
const updateZKprogram = async () => {
96+
if (contractState && proof) {
97+
const update = await zkProgram.update(contractState, proof);
98+
}
9699
};
97100
98101
return (

0 commit comments

Comments
 (0)