[FE] 페어프로그래밍 #407
CI.yml
on: pull_request
BE-test-and-build
34s
FE-test-and-build
13s
Annotations
2 errors and 2 warnings
FE-test-and-build
Module '"../components/StocksDetail/Chart.tsx"' has no exported member 'MousePositionType'. Did you mean to use 'import MousePositionType from "../components/StocksDetail/Chart.tsx"' instead?
|
FE-test-and-build
Process completed with exit code 2.
|
FE-test-and-build:
FE/src/components/StocksDetail/Chart.tsx#L83
React Hook useEffect has missing dependencies: 'chartX', 'lowerChartCanvasRef', 'lowerChartY', 'resizeCanvases', 'upperChartCanvasRef', and 'upperChartY'. Either include them or remove the dependency array. Outer scope values like 'setCanvasSize' aren't valid dependencies because mutating them doesn't re-render the component
|
FE-test-and-build:
FE/src/hooks/useCanvasResize.ts#L54
React Hook useCallback has missing dependencies: 'canvasRefs.chartX', 'canvasRefs.lowerChartCanvasRef', 'canvasRefs.lowerChartY', 'canvasRefs.upperChartCanvasRef', and 'canvasRefs.upperChartY'. Either include them or remove the dependency array
|