We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9841901 commit f345b8aCopy full SHA for f345b8a
src/lib/ui/next/customNextPage.js
@@ -154,6 +154,23 @@ export default function Home() {
154
<button onClick={updateZkApp} className={styles.button}>Call Add.update()</button>))}
155
</div>
156
157
+ <div className={styles.state}>
158
+ <div>
159
160
+ ZKprogram State:{" "}
161
+ <span className={styles.bold}>{contractState}</span>
162
+ </div>
163
+ {error ? (
164
+ <span className={styles.error}>Error: {error}</span>
165
+ ) : loading ? (
166
+ <div>Loading...</div>
167
+ ) : (
168
+ <button onClick={updateZKprogram} className={styles.button}>
169
+ Call Add.update()
170
+ </button>
171
+ )}
172
173
174
<div className={styles.grid}>
175
<a
176
href="https://docs.minaprotocol.com/zkapps"
0 commit comments