424 adjust berlin results page UI to match other pages #411
Annotations
2 errors and 5 warnings
Check linting:
packages/berlin/src/pages/Comments.tsx#L14
'fetchUserData' is defined but never used. Allowed unused vars must match /^_ignored/u
|
Check linting
Process completed with exit code 1.
|
Check linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check linting:
packages/berlin/src/components/comment-card/CommentCard.tsx#L58
React Hook useEffect has a missing dependency: 'user?.id'. Either include it or remove the dependency array
|
Check linting:
packages/berlin/src/pages/Cycle.tsx#L104
React Hook useEffect has a missing dependency: 'updateVotesAndHearts'. Either include it or remove the dependency array
|
Check linting:
packages/core/src/pages/Results.tsx#L69
The following dependencies are missing in your queryKey: cycle?.forumQuestions[0].id
|
Check linting:
packages/ui/src/components/ui/button.tsx#L50
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|