Skip to content

미션, 디스커션 제출 로직 리팩터링 (issue #765) #412

미션, 디스커션 제출 로직 리팩터링 (issue #765)

미션, 디스커션 제출 로직 리팩터링 (issue #765) #412

Triggered via pull request November 16, 2024 13:27
Status Success
Total duration 1m 30s
Artifacts

frontend_dev_ci.yml

on: pull_request
PATH_CHANGES
3s
PATH_CHANGES
FE_SLACK_MESSAGE
4s
FE_SLACK_MESSAGE
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
FE_CI
Process completed with exit code 1.
FE_CI: frontend/src/index.tsx#L287
'enableMocking' is defined but never used
FE_CI: frontend/src/mocks/handlers.ts#L252
'hashTagIds' is assigned a value but never used
FE_CI
Process completed with exit code 1.
FE_CI: frontend/src/components/common/ListenKeyDown.tsx#L21
React Hook useEffect has missing dependencies: 'onKeyDown' and 'targetKey'. Either include them or remove the dependency array. If 'onKeyDown' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_CI: frontend/src/hooks/useAnimation.ts#L44
React Hook useEffect has missing dependencies: '$animationTime' and 'unMountEvent'. Either include them or remove the dependency array. If 'unMountEvent' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_CI: frontend/src/hooks/useCarousel.ts#L36
React Hook useEffect has a missing dependency: 'handleTransitionEnd'. Either include it or remove the dependency array
FE_CI: frontend/src/hooks/useCarousel.ts#L38
The 'handleNextSlide' function makes the dependencies of useEffect Hook (at line 77) change on every render. To fix this, wrap the definition of 'handleNextSlide' in its own useCallback() Hook
FE_CI: frontend/src/hooks/useDashboardDiscussion.ts#L28
React Hook useEffect has missing dependencies: 'onPageInfoUpdate' and 'totalPage'. Either include them or remove the dependency array. If 'onPageInfoUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_CI: frontend/src/hooks/useDashboardDiscussionComment.ts#L28
React Hook useEffect has missing dependencies: 'onPageInfoUpdate' and 'totalPage'. Either include them or remove the dependency array. If 'onPageInfoUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_CI: frontend/src/hooks/useDiscussions.ts#L38
React Hook useEffect has missing dependencies: 'onPageInfoUpdate' and 'totalPage'. Either include them or remove the dependency array. If 'onPageInfoUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_CI: frontend/src/hooks/useErrorBoundary.ts#L48
React Hook useMemo has a missing dependency: 'context'. Either include it or remove the dependency array
FE_CI: frontend/src/hooks/useInitializeInputs.ts#L38
React Hook useCallback has missing dependencies: 'handleDescription', 'handleTitle', and 'handleUrl'. Either include them or remove the dependency array. If 'handleTitle' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_CI: frontend/src/hooks/useMissionInProgress.ts#L24
React Hook useEffect has missing dependencies: 'onPageInfoUpdate' and 'totalPage'. Either include them or remove the dependency array. If 'onPageInfoUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
FE_SLACK_MESSAGE
The following actions use a deprecated Node.js version and will be forced to run on node20: slackapi/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/