Skip to content

Commit

Permalink
fix: pass displayText through to LivenessCameraModule (#4792)
Browse files Browse the repository at this point in the history
* Update LivenessCameraModule.tsx

fix issue where displayText for tryAgainText do not update

* Create perfect-brooms-reflect.md

---------

Co-authored-by: thaddmt <[email protected]>
  • Loading branch information
ahnucl and thaddmt authored Dec 5, 2023
1 parent 04dc191 commit fe68b66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-brooms-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aws-amplify/ui-react-liveness": patch
---

Update LivenessCameraModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ export const LivenessCameraModule = (
onRetry={() => {
send({ type: 'CANCEL' });
}}
displayText={errorDisplayText}
>
{renderErrorModal({
errorState,
Expand Down

0 comments on commit fe68b66

Please sign in to comment.