Fix add business bank account opens personal bank account flow in invoice room #141561
Annotations
5 errors and 10 warnings
|
Lint JavaScript and Typescript with ESLint
Process completed with exit code 1.
|
|
Lint JavaScript and Typescript with ESLint:
src/components/SettlementButton/index.tsx#L342
'policyID' is already declared in the upper scope on line 78 column 5
|
|
Lint JavaScript and Typescript with ESLint:
src/components/SettlementButton/index.tsx#L341
Unexpected if as the only statement in an else block
|
|
Lint JavaScript and Typescript with ESLint:
src/components/SettlementButton/index.tsx#L330
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
|
Lint JavaScript and Typescript with ESLint:
src/components/SettlementButton/index.tsx#L303
'activePolicy' is already declared in the upper scope on line 128 column 11
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/NextStepUtils.ts#L64
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/NextStepUtils.ts#L57
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/NextStepUtils.ts#L44
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/Navigation/helpers/getAdaptedStateFromPath.ts#L23
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/ModifiedExpenseMessage.ts#L22
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/Middleware/Pagination.ts#L57
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/Middleware/Pagination.ts#L50
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/LocalePhoneNumber.ts#L8
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/libs/CurrencyUtils.ts#L11
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
Lint JavaScript and Typescript with ESLint:
src/hooks/useTransactionViolationOfWorkspace.tsx#L15
The 'transactionIDSet' object construction makes the dependencies of useCallback Hook (at line 47) change on every render. To fix this, wrap the initialization of 'transactionIDSet' in its own useMemo() Hook
|
Loading