Default InviewContext to true
so wheneven CommentComponent is used …
#950
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
run linter:
frontend/src/API/use/useFeed.ts#L123
React Hook useEffect has missing dependencies: 'api.userAPI', 'setCachedPosts', and 'setSorting'. Either include them or remove the dependency array. If 'setSorting' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
run linter:
frontend/src/API/use/usePost.ts#L173
React Hook useMemo has missing dependencies: 'setCachedComments' and 'updatePost'. Either include them or remove the dependency array
|
run linter:
frontend/src/API/use/usePost.ts#L207
React Hook useEffect has a missing dependency: 'appState.cache'. Either include it or remove the dependency array
|
run linter:
frontend/src/API/use/useUserProfile.ts#L49
React Hook useEffect has a missing dependency: 'refresh'. Either include it or remove the dependency array
|
run linter:
frontend/src/App.tsx#L94
Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations
|
run linter:
frontend/src/App.tsx#L94
Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations
|
run linter:
frontend/src/App.tsx#L94
Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations
|
run linter:
frontend/src/App.tsx#L95
Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations
|
run linter:
frontend/src/Components/CommentComponent.tsx#L171
React Hook useEffect has a missing dependency: 'setAltContent'. Either include it or remove the dependency array. If 'setAltContent' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
run linter:
frontend/src/Components/ContentComponent.tsx#L457
Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations
|
Loading