Skip to content

Commit ee1393f

Browse files
authored
Merge pull request #1106 from topcoder-platform/PM-1345_trolley-trust-module
PM-1345 trolley trust module
2 parents 96a77c4 + 008db71 commit ee1393f

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/apps/wallet/src/home/tabs/home/HomeTab.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,22 @@ const HomeTab: FC<HomeTabProps> = props => {
135135
}
136136
/>
137137
)}
138+
{!walletDetails?.identityVerification.isSetupComplete && (
139+
<InfoRow
140+
title='ID Verification'
141+
value={<Chip text='Setup Required' />}
142+
action={
143+
<LinkButton
144+
label='COMPLETE VERIFICATION'
145+
iconToRight
146+
icon={IconOutline.ArrowRightIcon}
147+
size='md'
148+
link
149+
to='#payout'
150+
/>
151+
}
152+
/>
153+
)}
138154
</PayoutGuard>
139155
</div>
140156
)}

src/apps/wallet/src/lib/models/WalletDetails.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ export interface WalletDetails {
1414
isSetupComplete: boolean
1515
type: 'paypal' | 'bank'
1616
}
17-
// TOOD: remove
1817
taxForm: {
1918
isSetupComplete: boolean
2019
}
20+
identityVerification: {
21+
isSetupComplete: boolean
22+
}
2123
primaryCurrency?: string | null;
2224
estimatedFees?: string | null;
2325
taxWithholdingPercentage?: string | null;

0 commit comments

Comments
 (0)