Skip to content

Commit

Permalink
[cleanup]
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmets committed Jun 30, 2022
1 parent 0d87da8 commit c66cf54
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import BoldFont from './Layout/BoldFont';

import './Register.css';
import Italic from './Layout/Italic';
import { v1 } from 'uuid';

import { backendClient } from '../feathers';
import { config } from '../config';
Expand Down Expand Up @@ -205,10 +206,10 @@ const Register: FC = () => {
// hyperverge document scan setup
const defaultDocumentId = 'dl';
const defaultCountryId = 'usa';
const transactionId = '1';
const document2 = new window.Document(true, defaultCountryId, defaultDocumentId);
const transactionId = `${v1()}`;
const documentHv = new window.Document(true, defaultCountryId, defaultDocumentId);
const face = new window.Face();
const workflow = [document2, face];
const workflow = [documentHv, face];
const hyperKycConfig = new window.HyperKycConfig(accessToken, workflow, transactionId, defaultCountryId);

const callback = async (data: KYCData) => {
Expand Down

0 comments on commit c66cf54

Please sign in to comment.