-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve shuftipro iframe (#1429)
* fix: improve shuftipro iframe * simplify step logic
- Loading branch information
JP
authored
May 30, 2023
1 parent
7b3a614
commit e3d9561
Showing
4 changed files
with
79 additions
and
75 deletions.
There are no files selected for viewing
30 changes: 13 additions & 17 deletions
30
centrifuge-app/src/pages/Onboarding/KnowYourBusiness/ManualBusinessVerification.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
import { Box } from '@centrifuge/fabric' | ||
|
||
type Props = { | ||
verificationURL: string | ||
} | ||
|
||
export const ManualBusinessVerification = ({ verificationURL }: Props) => { | ||
return ( | ||
<Box height="100%"> | ||
<iframe | ||
dataset-removable="true" | ||
name="shuftipro-iframe" | ||
id="shuftipro-iframe" | ||
src={verificationURL} | ||
title="shufti-pro-identity-verification" | ||
allow="camera" | ||
width="100%" | ||
height="100%" | ||
style={{ | ||
border: 'none', | ||
}} | ||
/> | ||
</Box> | ||
<iframe | ||
dataset-removable="true" | ||
name="shuftipro-iframe" | ||
id="shuftipro-iframe" | ||
src={verificationURL} | ||
title="shufti-pro-identity-verification" | ||
allow="camera" | ||
width="100%" | ||
height="100%" | ||
style={{ | ||
border: 'none', | ||
}} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 13 additions & 17 deletions
30
centrifuge-app/src/pages/Onboarding/KnowYourCustomer/IdentityVerification.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
import { Box } from '@centrifuge/fabric' | ||
|
||
type Props = { | ||
verificationURL: string | ||
} | ||
|
||
export const IdentityVerification = ({ verificationURL }: Props) => ( | ||
<Box height="100%"> | ||
<iframe | ||
dataset-removable="true" | ||
name="shuftipro-iframe" | ||
id="shuftipro-iframe" | ||
src={verificationURL} | ||
title="shufti-pro-identity-verification" | ||
allow="camera" | ||
width="100%" | ||
height="100%" | ||
style={{ | ||
border: 'none', | ||
}} | ||
/> | ||
</Box> | ||
<iframe | ||
dataset-removable="true" | ||
name="shuftipro-iframe" | ||
id="shuftipro-iframe" | ||
src={verificationURL} | ||
title="shufti-pro-identity-verification" | ||
allow="camera" | ||
width="100%" | ||
height="100%" | ||
style={{ | ||
border: 'none', | ||
}} | ||
/> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters