dev서버 api 주소 변경 (issue #767) #413
Annotations
4 errors and 10 warnings
Run test
Process completed with exit code 1.
|
Run lint:
frontend/src/index.tsx#L287
'enableMocking' is defined but never used
|
Run lint:
frontend/src/mocks/handlers.ts#L252
'hashTagIds' is assigned a value but never used
|
Run lint
Process completed with exit code 1.
|
Run lint:
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
|
Run lint:
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
|
Run lint:
frontend/src/hooks/useCarousel.ts#L36
React Hook useEffect has a missing dependency: 'handleTransitionEnd'. Either include it or remove the dependency array
|
Run lint:
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
|
Run lint:
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
|
Run lint:
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
|
Run lint:
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
|
Run lint:
frontend/src/hooks/useErrorBoundary.ts#L48
React Hook useMemo has a missing dependency: 'context'. Either include it or remove the dependency array
|
Run lint:
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
|
Run lint:
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
|
Loading