Skip to content

Commit

Permalink
minor: import different sample credential
Browse files Browse the repository at this point in the history
  • Loading branch information
martonmoro committed Nov 27, 2024
1 parent 1cea1c5 commit eeec05e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/docs/src/components/test-zkapp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { createStore } from "@mina-js/connect";
import { useLocalStorage, useObjectState } from "@uidotdev/usehooks";
import { clsx } from "clsx";
import { useState, useSyncExternalStore } from "react";
import { sampleCredential3, samplePresentationRequest1 } from "./sample-data";
import {
sampleCredentialSimpleFromExample,
samplePresentationRequestHttps,
} from "./sample-data";

const store = createStore();

Expand All @@ -21,10 +24,10 @@ export const TestZkApp = () => {
const [signFieldsWithPassphraseInput, setSignFieldsWithPassphraseInput] =
useState(JSON.stringify(sampleSignFieldsWithPassphrase, null, 2));
const [credentialInput, setCredentialInput] = useState(
JSON.stringify(sampleCredential3, null, 2),
JSON.stringify(sampleCredentialSimpleFromExample, null, 2),
);
const [presentationRequest, setPresentationRequest] = useState(
JSON.stringify(samplePresentationRequest1, null, 2),
JSON.stringify(samplePresentationRequestHttps, null, 2),
);
const [transactionBody, setTransactionBody] = useObjectState({
to: "B62qnVUL6A53E4ZaGd3qbTr6RCtEZYTu3kTijVrrquNpPo4d3MuJ3nb",
Expand Down

0 comments on commit eeec05e

Please sign in to comment.