add missing dep in useCallback #4184
Annotations
3 errors and 11 warnings
Basic tests:
src/navigation/courier/barcode/Barcode.js#L96
The 'askToUnassign' function makes the dependencies of useCallback Hook (at line 195) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'askToUnassign' in its own useCallback() Hook
|
Basic tests:
src/navigation/courier/barcode/Barcode.js#L118
The 'askToAssign' function makes the dependencies of useCallback Hook (at line 195) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'askToAssign' in its own useCallback() Hook
|
Basic tests
Process completed with exit code 1.
|
Basic tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Basic tests:
src/API.js#L358
Promise executor functions should not be async
|
Basic tests:
src/API.js#L501
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/API.js#L580
'refreshToken' is already declared in the upper scope on line 580 column 5
|
Basic tests:
src/API.js#L699
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/API.js#L735
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/API.js#L736
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/API.js#L737
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/AppUser.js#L95
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/AppUser.js#L98
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Basic tests:
src/__tests__/API.test.js#L120
Disabled test
|