Skip to content

Commit

Permalink
fix test web-app qrcode gen
Browse files Browse the repository at this point in the history
  • Loading branch information
remicolin committed Sep 21, 2024
1 parent 27645f7 commit 64ac277
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/tests/web-app/src/app/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import { OpenPassportQRcode } from '../../../../../src/QRcode/OpenPassportQRcode
import { TextField } from '@mui/material';
import { useState } from 'react';
import { COMMITMENT_TREE_TRACKER_URL } from '../../../../../../common/src/constants/constants';

import { v4 as uuidv4 } from 'uuid';
export default function Register() {
const [appName, setAppName] = useState('🌐 OpenPassport');
const userId = uuidv4();
return (
<div className="h-screen w-full bg-white flex flex-col items-center justify-center gap-12">
<div className="text-4xl text-black ">Register circuit</div>
Expand All @@ -18,6 +19,7 @@ export default function Register() {
circuit="register"
attestationId="PASSPORT"
merkleTreeUrl={COMMITMENT_TREE_TRACKER_URL}
userId={userId}
/>

<TextField
Expand Down

0 comments on commit 64ac277

Please sign in to comment.