Skip to content

Commit

Permalink
chore: remove liveness from canaries (#4741)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaddmt authored Nov 15, 2023
1 parent 236baee commit 9effe1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion canary/apps/react/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"dependencies": {
"@aws-amplify/ui-react": "latest",
"@aws-amplify/ui-react-liveness": "latest",
"aws-amplify": "latest",
"next": "12.0.10",
"react": "latest",
Expand Down
7 changes: 4 additions & 3 deletions canary/apps/react/next/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
withAuthenticator,
useAuthenticator,
} from '@aws-amplify/ui-react';
import { FaceLivenessDetector } from '@aws-amplify/ui-react-liveness';
// Todo-migration re-enable once liveness has been updated
// import { FaceLivenessDetector } from '@aws-amplify/ui-react-liveness';
import '@aws-amplify/ui-react/styles.css';
import { Amplify } from 'aws-amplify';
import aws_exports from '../../../../environments/auth-with-email/src/aws-exports.js';
Expand All @@ -22,11 +23,11 @@ function App() {
<Button variation="primary">Click me!</Button>
<Button onClick={signOut}>Sign out</Button>
</Card>
<FaceLivenessDetector
{/* <FaceLivenessDetector
sessionId="123"
region="us-east-1"
handleGetLivenessDetection={async () => {}}
/>
/> */}
</ThemeProvider>
);
}
Expand Down

0 comments on commit 9effe1d

Please sign in to comment.