perf: make switch between chat list and workspaces smoother #62696
Annotations
10 errors and 2 warnings
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L5
`./OptionRowLHNData` import should occur after import of `@shopify/flash-list`
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L6
`./types` type import should occur after import of `@shopify/flash-list`
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L7
All imports in the declaration are only used as types. Use `import type`
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L8
'CONST' is defined but never used
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L9
'variables' is defined but never used
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L10
'FlashList' is defined but never used
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L21
'optionMode' is defined but never used
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L42
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
|
lint:
src/components/LHNOptionsList/OptionRowLHNData.tsx#L1
'deepEqual' is defined but never used
|
lint:
src/components/LHNOptionsList/OptionRowLHNData.tsx#L2
'useMemo' is defined but never used
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
src/components/LHNOptionsList/LHNOptionsList.tsx#L55
React Hook useCallback has a missing dependency: 'shouldDisableFocusOptions'. Either include it or remove the dependency array
|