Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mustofa/yashim/feat: idv smile identity #3374

Merged
merged 229 commits into from
Oct 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
8cbaa89
refactor: class to functional components
yashim-deriv Jun 3, 2021
77f7e3e
refactor: cleanup
yashim-deriv Jun 3, 2021
cd3ec50
refactor id service
mustofa-binary Jun 4, 2021
82911e0
Merge branch 'master' into idv_smile_identity
yashimwong Jun 4, 2021
abe8a12
feat: add country selector page
yashimwong Jun 6, 2021
e76b872
feat: added validation for country selector
yashimwong Jun 8, 2021
cd98932
feat: added document upload page
yashimwong Jun 9, 2021
1ed41aa
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 9, 2021
c9acc0a
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jun 11, 2021
5e96cae
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 11, 2021
7c414a6
chore: refactor current poi container logics
mustofa-binary Jun 13, 2021
38c5ecc
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 15, 2021
f2a3d88
chore: refactor authentication flow
mustofa-binary Jun 15, 2021
cd9f0f6
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
mustofa-binary Jun 15, 2021
a84f223
fix: service_code typo
mustofa-binary Jun 16, 2021
b2cbbb1
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jun 16, 2021
397bbc6
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashim-deriv Jun 16, 2021
1ecbd16
feat: add validation to idv upload document
yashimwong Jun 16, 2021
092fb4c
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 16, 2021
be3d821
fix: removed old props
yashimwong Jun 16, 2021
f096cf2
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashimwong Jun 16, 2021
159a758
fix: rejected status
mustofa-binary Jun 16, 2021
17a8130
feat: added doc img placeholder + default format. connected uploader …
yashim-deriv Jun 17, 2021
57b55b4
feat: add auto-formatter for key input (for supported doc type + coun…
yashim-deriv Jun 17, 2021
121069b
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jun 17, 2021
c2c0c58
fix: add missing oncomplete logic from merge resolve
yashim-deriv Jun 17, 2021
7adb393
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
mustofa-binary Jun 18, 2021
8a85705
fix: sample document data fetching
yashimwong Jun 20, 2021
2290a96
fix: image + layout fixes to document uploader
yashimwong Jun 20, 2021
7ac97fd
feat: add idv document status pending
yashimwong Jun 20, 2021
6c8026c
fix: removed test components
yashimwong Jun 20, 2021
f60aeb0
feat: add idv verified page.
yashimwong Jun 20, 2021
5a50dba
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
mustofa-binary Jun 21, 2021
04b8bff
feat: add all remaining status pages
yashim-deriv Jun 21, 2021
de337fc
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 21, 2021
9f86e6a
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 22, 2021
eeb692c
fix: removed placeholder data
yashim-deriv Jun 22, 2021
b9f1249
test: add test-data
yashim-deriv Jun 22, 2021
2a8942f
fix: remove re-setting state in child component. derive state directl…
yashimwong Jun 22, 2021
816c90c
fix: mobile layout
yashimwong Jun 22, 2021
4d13934
fix: onfido layout to match design
yashim-deriv Jun 23, 2021
40a8b82
fix: layout of main container to follow design
yashim-deriv Jun 23, 2021
18f8c0a
fix: all component should load within the main wrapper
yashim-deriv Jun 23, 2021
a736506
fix: mobile view + auto format feature
yashim-deriv Jun 23, 2021
5e3e687
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jun 23, 2021
d44c5d2
fix: typo
yashim-deriv Jun 23, 2021
a6519bb
fix: new imports for WS
yashimwong Jun 23, 2021
3e802aa
fix: left out WS import
yashimwong Jun 23, 2021
8e56eae
refactor/feat: add submission. fix auto format
yashimwong Jun 24, 2021
76caf5a
merge: conflict
mustofa-binary Jun 24, 2021
40a6925
fix: handle resubmission
mustofa-binary Jun 24, 2021
d82ce61
feat: idv upload complete
mustofa-binary Jun 24, 2021
f8c6577
fix: poi submission flow
mustofa-binary Jun 24, 2021
98a3b4d
fix: round 1 mobile fix
yashim-deriv Jun 24, 2021
6bfabca
fix: submission
mustofa-binary Jun 24, 2021
2a15993
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
mustofa-binary Jun 24, 2021
0b0af67
fix: dropdown styles
yashim-deriv Jun 24, 2021
e59dfa7
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashim-deriv Jun 24, 2021
4d22f0d
fix: eslint error
yashim-deriv Jun 24, 2021
9df64b4
fix: responsive + submission + submission_left checks
yashim-deriv Jun 24, 2021
d9646ae
fix: desktop styles + add mock examples for testing diff doc statuses
yashim-deriv Jun 24, 2021
73bded1
feat: add missing status pages. minor fix and refactor
yashim-deriv Jun 25, 2021
231b84a
cleanup + nit fixing
yashim-deriv Jun 25, 2021
bf54fa4
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 25, 2021
6dc806b
fix: poi submission refactor
mustofa-binary Jun 25, 2021
30e3233
refactor: cleanups + fixed errors
yashim-deriv Jun 28, 2021
dee727a
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jun 28, 2021
d92a246
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 28, 2021
bbd99a4
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 28, 2021
8c1c43e
fix: added more validation for country selector
yashim-deriv Jun 28, 2021
3c7885a
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 28, 2021
a4dc7d1
fix: some responsive layout. cleanup.
yashimwong Jun 28, 2021
4817344
fix: mobile country selection. minor refactor
yashim-deriv Jun 29, 2021
df108d3
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 29, 2021
3ed3d66
fix: bugs after review
yashim-deriv Jun 30, 2021
80eb962
fix: add better conditionals
yashim-deriv Jun 30, 2021
4b835bb
Merge branch 'master' into idv_smile_identity
yashim-deriv Jun 30, 2021
a539900
feat/refactor: added missing sample images. code cleanup
yashim-deriv Jul 1, 2021
fe902ea
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashim-deriv Jul 1, 2021
9e5d65a
fix/refactor: fix different contents from design (responsive). rename…
yashim-deriv Jul 1, 2021
314cd7a
refactor: final cleanup
yashim-deriv Jul 1, 2021
fee031a
fix: corrected comments
yashim-deriv Jul 1, 2021
9c75a79
fix: add external
mustofa-binary Jul 2, 2021
a8489a0
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashimwong Jul 2, 2021
7f01620
Merge branch 'master' into idv_smile_identity
yashimwong Jul 5, 2021
3310b37
Merge branch 'master' into idv_smile_identity
yashimwong Jul 5, 2021
b7d9332
fix: move logic for dmt5 poi verification
yashimwong Jul 5, 2021
fcbc7db
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashimwong Jul 5, 2021
de84ac4
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 6, 2021
370bc83
fix: cfd poi
yashim-deriv Jul 6, 2021
12c6336
fix: cfd poi + document submission (submit + error)
yashim-deriv Jul 6, 2021
d154fa6
fix: QA Bugs Round #1
yashim-deriv Jul 7, 2021
c0d6bbb
feat: add ghana + fix in case of null
yashim-deriv Jul 7, 2021
0ea3130
fix: remove mock accounts
yashim-deriv Jul 7, 2021
6d9debe
fix: typo
yashim-deriv Jul 7, 2021
6897e4a
fix: removed unused imports
yashim-deriv Jul 7, 2021
521b929
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 7, 2021
30530ed
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 13, 2021
7cf2c5e
fix: onfido initiation
yashim-deriv Jul 13, 2021
56173ee
fix: QA Bugs
yashim-deriv Jul 13, 2021
79a477c
Merge branch 'master' into idv_smile_identity
yashim-deriv Jul 13, 2021
ebae5e3
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 14, 2021
033f869
cleanup
yashim-deriv Jul 14, 2021
a160e07
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashim-deriv Jul 14, 2021
f0160da
fix: BE API structure
yashim-deriv Jul 14, 2021
172c82b
fix: fetching data during refresh
yashim-deriv Jul 14, 2021
183db5b
fix: weird linting problems after merge
yashim-deriv Jul 14, 2021
4c4e0b0
fix: QA raised bugs. Updated mock data based on new API structure
yashim-deriv Jul 14, 2021
6a3b773
fix: await loading before parsing account status data
yashim-deriv Jul 14, 2021
c6e22a7
Merge branch 'master' into idv_smile_identity
yashim-deriv Jul 14, 2021
443af12
fix: rate limit
yashim-deriv Jul 14, 2021
801abd5
Merge branch 'master' into idv_smile_identity
yashim-deriv Jul 14, 2021
6523b83
fix: ensure that country is supported before passing to onfido
yashim-deriv Jul 14, 2021
34436fc
fix: QA bugs
yashim-deriv Jul 14, 2021
e10092b
fix: only init onfido if necessary
yashim-deriv Jul 14, 2021
a51b6e6
fix: service
yashim-deriv Jul 14, 2021
c79b964
fix: remove mock data
yashim-deriv Jul 14, 2021
5af78a5
fix: only finish loading once onfido is init
yashim-deriv Jul 14, 2021
f1119eb
fix: onfido conditions
yashim-deriv Jul 14, 2021
e14e0a5
fix: Raised QA Issues
yashim-deriv Jul 15, 2021
e1855a1
fix: wrong logic for on item selection
yashim-deriv Jul 15, 2021
a168ebc
Merge branch 'master' into idv_smile_identity
yashim-deriv Jul 15, 2021
5939928
fix: QA Bugs Round 2
yashim-deriv Jul 15, 2021
bce7d0a
fix: QA Issue for Kenya Sample
yashim-deriv Jul 15, 2021
f0a832d
fix: page shld load either one not both error and onfido pages
yashim-deriv Jul 15, 2021
f061309
fix: check not updating to latest value
yashim-deriv Jul 15, 2021
7e7b9c8
feat/fix: add new flow. fix all bugs
yashim-deriv Jul 15, 2021
80dc6b4
fix: loading on error
yashim-deriv Jul 15, 2021
fc9a33d
fix: flow final form
yashim-deriv Jul 16, 2021
eb8a12b
Merge branch 'master' into idv_smile_identity
yashim-deriv Jul 19, 2021
7a4a247
fix: onfido_init will always be null
yashim-deriv Jul 19, 2021
7825505
fix: missing placeholder for reponsive
yashim-deriv Jul 19, 2021
954c870
fix: document rejected icon (QA)
yashim-deriv Jul 19, 2021
c455380
fix: conditional
yashim-deriv Jul 19, 2021
2adae5d
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 19, 2021
4d6ab90
fix: remove mock data
yashim-deriv Jul 19, 2021
1dcdb4b
fix: missing personal details should take precedence (QA)
yashim-deriv Jul 19, 2021
68ca596
fix: document checking
yashim-deriv Jul 19, 2021
a2179b8
fix: precedence + conditions
yashim-deriv Jul 21, 2021
e88f8cb
fix: copy + weird id returned when null (QA)
yashim-deriv Jul 21, 2021
5f5b302
feat: add client store to mt5 financial stp sign up
yashim-deriv Jul 21, 2021
1edd656
feat: add all used states
yashim-deriv Jul 21, 2021
2594692
fix: poi from dmt5. passing of states
yashim-deriv Jul 22, 2021
a818437
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 26, 2021
5d703f0
fix: random "0" appearing after validation
yashim-deriv Jul 26, 2021
9ef4b79
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Jul 26, 2021
d787221
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
Jul 26, 2021
f8cc750
Merge branch 'master' into idv_smile_identity
yashim-deriv Aug 2, 2021
7465076
Merge branch 'master' into idv_smile_identity
yashim-deriv Aug 6, 2021
2d88cce
fix: remove mock data
yashim-deriv Aug 6, 2021
2948cfe
fix: addressed code review
yashim-deriv Aug 6, 2021
8273144
fix: sonarqube cognitive overload
yashim-deriv Aug 6, 2021
5fbb87e
Merge branch 'master' into idv_smile_identity
yashim-deriv Aug 12, 2021
38b8ab9
feat: add support for selecting country code on onfido to BE
yashim-deriv Aug 12, 2021
3b61da8
feat: updated copy for onfido submitted
yashim-deriv Aug 13, 2021
e24a4a6
merge
yashim-deriv Aug 13, 2021
4786e6e
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Aug 26, 2021
8768d27
fix: enable all countries (QA1)
yashim-deriv Aug 26, 2021
9299f68
fix: add idv_disallowed check to country selector
yashim-deriv Aug 26, 2021
a1be28e
fix: text visibility (QA)
yashimwong Aug 26, 2021
e6c9819
fix: disabled text color (QA)
yashimwong Aug 26, 2021
a50750b
fix: autoformatter check
yashimwong Aug 26, 2021
1f225c3
fix: unsupported regex (QA)
yashimwong Aug 26, 2021
f0e651c
fix: mobile message (QA)
yashimwong Aug 26, 2021
c7ae95c
fix: mt5 unable to proceed
yashimwong Aug 26, 2021
ceafc36
Merge branch 'master' into idv_smile_identity
yashim-deriv Aug 26, 2021
298fe01
fix: idv failure message (QA)
yashimwong Aug 28, 2021
2fa93e2
fix: mt5 modal (QA)
yashimwong Aug 28, 2021
65a7635
fix: text + design consistency issues (QA)
yashimwong Aug 28, 2021
01f0602
Merge branch 'master' into idv_smile_identity
yashim-deriv Aug 29, 2021
3421c64
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashimwong Aug 29, 2021
23114d5
feat: add uwelcome handling (QA)
yashim-deriv Aug 30, 2021
c05de71
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Aug 30, 2021
d1c552d
revert
yashim-deriv Aug 30, 2021
23d273e
Retrigger sonarcube
yashim-deriv Aug 30, 2021
c389e02
fix: mobile width (QA)
yashimwong Aug 30, 2021
bc40f8e
feat: add handling for status modified from BO (QA)
yashimwong Aug 30, 2021
2e38100
Retrigger deployment
yashim-deriv Aug 30, 2021
56271ff
Merge branch 'master' into idv_smile_identity
yashim-deriv Aug 30, 2021
35d9ede
refactor: unused props + update onstatechange logic
yashimwong Aug 31, 2021
aebff29
fix: onStateChange status arg
yashimwong Aug 31, 2021
c3f3c2c
fix: icon size (QA)
yashimwong Aug 31, 2021
1025e5e
feat: will always show country selector for both idv + onfido (QA)
yashimwong Aug 31, 2021
1ea9e79
fix: example code length
yashimwong Aug 31, 2021
c1529d4
fix: doc length based on official src (QA)
yashimwong Aug 31, 2021
63f8378
fix: comment spelling
yashim-deriv Aug 31, 2021
1a0f96f
fix: allow poi for allow_poi_resubmission flag
yashim-deriv Sep 1, 2021
dff707a
fix: allow resubmission will now reset verification flow
yashim-deriv Sep 1, 2021
dc12d99
fix: remove disallowed check if there are still attempts
yashim-deriv Sep 1, 2021
6d45cee
fix: weird alignment from mt5 sign up (QA)
yashim-deriv Sep 1, 2021
bbff88d
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Sep 1, 2021
6f4729a
fix: after first attempt, will not ask country selector anymore
yashim-deriv Sep 1, 2021
1faa65e
fix: revert submission logic
yashim-deriv Sep 2, 2021
2e7016c
fix: copy
yashim-deriv Sep 2, 2021
7d705c4
fix: mt5 dropdown (QA)
yashim-deriv Sep 3, 2021
a9d2d1b
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 3, 2021
99a40ae
fix: clipped icons
yashim-deriv Sep 3, 2021
83085f8
fix: z-index
yashim-deriv Sep 3, 2021
6af91e3
fix: removed placeholder
yashim-deriv Sep 3, 2021
c4b192e
fix: container height (QA)
yashim-deriv Sep 3, 2021
b88e953
fix: side effects
yashim-deriv Sep 3, 2021
cbc00f6
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Sep 6, 2021
784810d
fix: overlap
yashim-deriv Sep 6, 2021
cf55d4a
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Sep 6, 2021
6b77a1c
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 6, 2021
d9f0f5e
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 7, 2021
efee2a3
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 8, 2021
a096490
fix: status checking
yashim-deriv Sep 8, 2021
4e62a82
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 9, 2021
12ded9a
feat: add new info message
yashim-deriv Sep 9, 2021
0a9b332
fix: wrong url component
yashim-deriv Sep 9, 2021
0579eb8
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Sep 13, 2021
f3ca735
fix: container sizing
yashim-deriv Sep 13, 2021
d592ea5
fix: display on large screens
yashim-deriv Sep 13, 2021
f02c42c
feat: add alert text
yashim-deriv Sep 13, 2021
dbb4037
fix: helper msg show condition
yashim-deriv Sep 13, 2021
a3a8a7f
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Sep 21, 2021
8450e59
Merge branch 'master' of github.com:binary-com/deriv-app into idv_smi…
yashim-deriv Sep 22, 2021
43e3957
refactor: use proper fragments
yashim-deriv Sep 22, 2021
f0d4ebd
Apply suggestions from code review
yashim-deriv Sep 22, 2021
5567699
Add suggestions from code review
yashim-deriv Sep 22, 2021
32d3a78
Add suggestions from code review
yashim-deriv Sep 22, 2021
b5d963f
fix: add suggestions from code review
yashim-deriv Sep 22, 2021
3d43d02
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 22, 2021
0da9af4
Merge branch 'master' into idv_smile_identity
yashim-deriv Sep 23, 2021
458832c
fix: remove localization
yashim-deriv Sep 23, 2021
1ca3a20
Merge branch 'idv_smile_identity' of github.com:yashim-deriv/deriv-ap…
yashim-deriv Sep 23, 2021
e3cf8e8
feat: exclude voter id from ghana document list
yashim-deriv Sep 24, 2021
66b3898
Merge branch 'master' into idv_smile_identity
matin-deriv Oct 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/account/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = function (env, argv) {
'poi-unverified': 'Components/poi-unverified',
'poi-upload-complete': 'Components/poi-upload-complete',
'poi-verified': 'Components/poi-verified',
'proof-of-identity': 'Sections/Verification/ProofOfIdentity/proof-of-identity.jsx',
'proof-of-identity-container': 'Sections/Verification/ProofOfIdentity/proof-of-identity-container.jsx',
'proof-of-address-container': 'Sections/Verification/ProofOfAddress/proof-of-address-container.jsx',
'reset-trading-password-modal': 'Components/reset-trading-password-modal',
Expand Down
19,463 changes: 16 additions & 19,447 deletions packages/account/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"bowser": "^2.9.0",
"classnames": "^2.2.6",
"formik": "^2.1.4",
"i18n-iso-countries": "^6.8.0",
"js-cookie": "^2.2.1",
"mobx": "^5.15.7",
"mobx-react": "^6.2.2",
Expand Down
1 change: 1 addition & 0 deletions packages/account/src/Assets/ic-document-submit-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/account/src/Assets/ic-idv-document-pending.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/account/src/Assets/ic-idv-document-rejected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/account/src/Assets/ic-idv-verified.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/account/src/Assets/ic-poi-back-btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ IconMessageContent.propTypes = {
full_width: PropTypes.bool,
icon: PropTypes.object,
message: PropTypes.oneOfType([PropTypes.node, PropTypes.string, PropTypes.object]),
text: PropTypes.string,
text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
};
export default IconMessageContent;
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const IconMessageList = ({ className, icon, message, message_list, onContinue })
<Button
type='button'
className='account-management__continue'
onClick={() => onContinue(true)}
onClick={onContinue}
large
text={localize('Upload Document')}
primary
Expand Down
11 changes: 8 additions & 3 deletions packages/account/src/Components/poa-button/poa-button.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import React from 'react';
import PropTypes from 'prop-types';
import { ButtonLink, Text } from '@deriv/components';
import { routes } from '@deriv/shared';
import { localize } from '@deriv/translations';
import React from 'react';

export const PoaButton = () => (
export const PoaButton = ({ custom_text = localize('Proof of address') }) => (
<ButtonLink className='account-management__button' to={routes.proof_of_address}>
<Text className='dc-btn__text' as='p' weight='bold'>
{localize('Proof of address')}
{custom_text || localize('Proof of address')}
</Text>
</ButtonLink>
);
yashim-deriv marked this conversation as resolved.
Show resolved Hide resolved

PoaButton.propTypes = {
custom_text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import CountrySelector from './poi-country-selector.jsx';

export default CountrySelector;
Loading