Fix : #61 Fix react strict mode to avoid double request to backend #27
Annotations
10 errors and 3 warnings
src/App.tsx#L18
Delete `⏎··········`
|
src/App.tsx#L22
Replace `/>}` with `·/>}·`
|
src/App.tsx#L24
Delete `⏎`
|
src/Components/Carousel/Carousel.tsx#L1
'useRef' is defined but never used
|
src/Components/Carousel/Carousel.tsx#L2
Insert `;`
|
src/Components/Carousel/Carousel.tsx#L3
Insert `·`
|
src/Components/Carousel/Carousel.tsx#L4
Replace `····imgs:` with `··imgs:·`
|
src/Components/Carousel/Carousel.tsx#L5
Replace `········url:` with `····url:·`
|
src/Components/Carousel/Carousel.tsx#L6
Replace `········title:` with `····title:·`
|
src/Components/Carousel/Carousel.tsx#L7
Replace `··}[]` with `}[];`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
src/Pages/FormPage/FormPage.tsx#L376
React Hook useEffect has missing dependencies: 'data', 'files', 'poll_analyze', 'uploadStarted', and 'upload_all'. Either include them or remove the dependency array. You can also do a functional update 'setData(d => ...)' if you only need 'data' in the 'setData' call
|
src/Pages/JsonPage/Json.tsx#L75
React Hook useEffect has missing dependencies: 'poll_analyze', 'uploadStarted', and 'upload_all'. Either include them or remove the dependency array
|
This job failed
Loading