Skip to content

🔧 remove linting unused variables #3

🔧 remove linting unused variables

🔧 remove linting unused variables #3

Triggered via push December 28, 2023 03:45
Status Failure
Total duration 50s
Artifacts

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 9 warnings
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/Campaign.tsx#L84
'budget' is assigned a value but never used
Build, lint, and test on Node 20.x and ubuntu-latest: src/index.tsx#L87
'isUpdatingSettings' is assigned a value but never used
Build, lint, and test on Node 20.x and ubuntu-latest: src/lib/merge.ts#L8
'P' is defined but never used
Build, lint, and test on Node 20.x and ubuntu-latest
Process completed with exit code 1.
Build, lint, and test on Node 18.x and macOS-latest
The job was canceled because "_20_x_ubuntu-latest" failed.
Build, lint, and test on Node 18.x and macOS-latest
The operation was canceled.
Build, lint, and test on Node 18.x and windows-latest
The job was canceled because "_20_x_ubuntu-latest" failed.
Build, lint, and test on Node 18.x and windows-latest
The operation was canceled.
Build, lint, and test on Node 20.x and macOS-latest
The job was canceled because "_20_x_ubuntu-latest" failed.
Build, lint, and test on Node 20.x and macOS-latest
The operation was canceled.
Build, lint, and test on Node 18.x and ubuntu-latest
The job was canceled because "_20_x_ubuntu-latest" failed.
Build, lint, and test on Node 18.x and ubuntu-latest
The operation was canceled.
Build, lint, and test on Node 20.x and windows-latest
The job was canceled because "_20_x_ubuntu-latest" failed.
Build, lint, and test on Node 20.x and windows-latest
The operation was canceled.
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/AdPreviewDetailImage.tsx#L37
React Hook useEffect has a missing dependency: 'creativeUrl'. Either include it or remove the dependency array. If 'setIsVideo' needs the current value of 'creativeUrl', you can also switch to useReducer instead of useState and read 'creativeUrl' in the reducer
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/Campaign.tsx#L84
'budget' is assigned a value but never used
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/Campaign.tsx#L120
React Hook useEffect has missing dependencies: 'emailDomain' and 'emailLocalPart'. Either include them or remove the dependency array. If 'setSupportLink' needs the current value of 'emailDomain', you can also switch to useReducer instead of useState and read 'emailDomain' in the reducer
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/Campaign.tsx#L132
React Hook useEffect has a missing dependency: 'creativeUrl'. Either include it or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setIsVideo' needs the current value of 'creativeUrl'
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/CampaignDetail.tsx#L57
React Hook useEffect has a missing dependency: 'data?.pid'. Either include it or remove the dependency array
Build, lint, and test on Node 20.x and ubuntu-latest: src/components/CampaignsSummaryStats.tsx#L64
React Hook useEffect has a missing dependency: 'selectedChartButton'. Either include it or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setInternalStatsHighlightTimeseries' needs the current value of 'selectedChartButton'
Build, lint, and test on Node 20.x and ubuntu-latest: src/index.tsx#L87
'isUpdatingSettings' is assigned a value but never used