Fix add business bank account opens personal bank account flow in invoice room #52588
Annotations
5 errors and 4 warnings
|
Run ESLint to check for deprecation warnings
Process completed with exit code 1.
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L342
'policyID' is already declared in the upper scope on line 78 column 5
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L341
Unexpected if as the only statement in an else block
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L330
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L303
'activePolicy' is already declared in the upper scope on line 128 column 11
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L9
'@components/Icon/Expensicons' import is restricted from being used by a pattern. Direct imports from Icon/Expensicons are deprecated. Please use lazy loading hooks instead. Use `useMemoizedLazyExpensifyIcons` from @hooks/useLazyAsset. See docs/LAZY_ICONS_AND_ILLUSTRATIONS.md for details
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L9
'@components/Icon/Expensicons' import is restricted from being used. Direct imports from @components/Icon/Expensicons are deprecated. Please use lazy loading hooks instead. Use `useMemoizedLazyExpensifyIcons` from @hooks/useLazyAsset. See docs/LAZY_ICONS_AND_ILLUSTRATIONS.md for details
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L8
'@components/Icon/Expensicons' import is restricted from being used by a pattern. Direct imports from Icon/Expensicons are deprecated. Please use lazy loading hooks instead. Use `useMemoizedLazyExpensifyIcons` from @hooks/useLazyAsset. See docs/LAZY_ICONS_AND_ILLUSTRATIONS.md for details
|
|
Run ESLint to check for deprecation warnings:
src/components/SettlementButton/index.tsx#L8
'@components/Icon/Expensicons' import is restricted from being used. Direct imports from @components/Icon/Expensicons are deprecated. Please use lazy loading hooks instead. Use `useMemoizedLazyExpensifyIcons` from @hooks/useLazyAsset. See docs/LAZY_ICONS_AND_ILLUSTRATIONS.md for details
|
Loading