Skip to content

Commit 7a38343

Browse files
committed
lint fixes
1 parent 98007f9 commit 7a38343

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ const HomeTab: FC<HomeTabProps> = props => {
5959
/>
6060

6161
<PayoutGuard profile={props.profile}>
62-
{walletDetails.withdrawalMethod.isSetupComplete && walletDetails.taxForm.isSetupComplete && (
62+
{walletDetails.withdrawalMethod.isSetupComplete
63+
&& walletDetails.taxForm.isSetupComplete && (
6364
<InfoRow
6465
title='Est. Payment Fees and Tax Withholding %'
6566
// eslint-disable-next-line max-len
@@ -103,7 +104,11 @@ const HomeTab: FC<HomeTabProps> = props => {
103104
{!walletDetails?.taxForm.isSetupComplete && (
104105
<InfoRow
105106
title='Tax Form'
106-
value={walletDetails?.taxForm.isSetupComplete ? 'All set' : <Chip text='Setup Required' />}
107+
value={
108+
walletDetails?.taxForm.isSetupComplete
109+
? 'All set'
110+
: <Chip text='Setup Required' />
111+
}
107112
action={
108113
<LinkButton
109114
label='COMPLETE TAX FORM'

src/apps/wallet/src/lib/components/payout-guard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface PayoutGuardProps {
99
}
1010

1111
export const PayoutGuard: FC<PayoutGuardProps & PropsWithChildren> = props => {
12-
const canViewPayout = useCanViewPayout(props.profile);
12+
const canViewPayout = useCanViewPayout(props.profile)
1313

1414
return (
1515
<>{canViewPayout && props.children}</>

0 commit comments

Comments
 (0)