Use testnet-onboarding-api to generate sumsub access token #3

Merged
nabarun merged 8 commits from sk-replace-query-params-with-state into kyc-integration 2024-07-26 16:49:30 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 702fb3ebaa - Show all commits

View File

@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@cerc-io/registry-sdk": "^0.2.2", "@cerc-io/registry-sdk": "^0.2.3",
"@cosmjs/stargate": "^0.32.4", "@cosmjs/stargate": "^0.32.4",
"@emotion/react": "^11.11.4", "@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",

View File

@ -28,6 +28,7 @@ const TermsAndConditionsCard = ({ handleAccept, handleRoleChange }: { handleAcce
const handleRadioChange = (event: React.ChangeEvent<HTMLInputElement>) => { const handleRadioChange = (event: React.ChangeEvent<HTMLInputElement>) => {
setSelectedRole(event.target.value as Role); setSelectedRole(event.target.value as Role);
handleRoleChange((event.target as HTMLInputElement).value === Role.Validator ? Role.Validator : Role.Participant); handleRoleChange((event.target as HTMLInputElement).value === Role.Validator ? Role.Validator : Role.Participant);
setChecked(false);
}; };
return ( return (