small change #45
Annotations
10 errors and 6 warnings
Lint Client Code:
client/src/components/Buyer/Contract/GenerateContract.jsx#L19
'validationErrors' is assigned a value but never used
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L10
'data' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L10
'showSecondaryBox' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L14
'data.profile' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L14
'data.profile.displayName' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L14
'data.profile' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L14
'data.profile.lname' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L15
'data.displayName' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L16
'data.profile' is missing in props validation
|
Lint Client Code:
client/src/components/Farmer/FDashboard.jsx#L16
'data.profile.phone' is missing in props validation
|
Lint Client Code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint Client Code:
client/src/components/LandingPage/LandingPage.jsx#L46
React Hook useEffect has a missing dependency: 'nextSlide'. Either include it or remove the dependency array
|
Lint Client Code:
client/src/components/Negotiate/Chat.jsx#L53
React Hook useEffect has a missing dependency: 'userType'. Either include it or remove the dependency array
|
Lint Client Code:
client/src/components/Negotiate/Chat.jsx#L95
React Hook useEffect has missing dependencies: 'prevRoomID' and 'socket'. Either include them or remove the dependency array
|
Lint Client Code:
client/src/components/Negotiate/old.jsx#L38
React Hook useEffect has missing dependencies: 'SERVER_PORT', 'currentUser.uid', and 'userType'. Either include them or remove the dependency array
|
Lint Client Code:
client/src/components/context/AuthContext.jsx#L7
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|