fix: prevent infinite timezone update loop for delegate sessions #165186
Annotations
5 errors and 10 warnings
|
ESLint check
Process completed with exit code 1.
|
|
ESLint check:
src/hooks/useAutoUpdateTimezone.ts#L15
Unsafe argument of type error typed assigned to a parameter of type `OnyxEntry<Account>`
|
|
ESLint check:
src/hooks/useAutoUpdateTimezone.ts#L14
Unsafe assignment of an error typed value
|
|
ESLint check:
src/hooks/useAutoUpdateTimezone.ts#L15
Unsafe argument of type error typed assigned to a parameter of type `OnyxEntry<Account>`
|
|
ESLint check:
src/hooks/useAutoUpdateTimezone.ts#L14
Unsafe assignment of an error typed value
|
|
ESLint check:
src/libs/OptionsListUtils/index.ts#L234
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/OptionsListUtils/index.ts#L223
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/OptionsListUtils/index.ts#L214
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/OptionsListUtils/index.ts#L208
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/LocalePhoneNumber.ts#L8
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/CurrencyUtils.ts#L11
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check
React Hook useMemo has a missing dependency: 'styles.mr3'. Either include it or remove the dependency array
|
|
ESLint check:
src/components/Search/SearchAutocompleteList.tsx#L358
The 'sections' array makes the dependencies of useEffect Hook (at line 440) change on every render. To fix this, wrap the initialization of 'sections' in its own useMemo() Hook
|
|
ESLint check:
src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx#L737
React Hook useCallback has a missing dependency: 'introSelected'. Either include it or remove the dependency array
|
|
ESLint check:
src/components/MoneyReportHeader.tsx#L1853
React Hook useMemo has missing dependencies: 'isDelegateAccessRestricted' and 'showDelegateNoAccessModal'. Either include them or remove the dependency array
|