File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff 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'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export interface PayoutGuardProps {
99}
1010
1111export 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 } </ >
You can’t perform that action at this time.
0 commit comments