Fix tags and schedule edit for parental control #118
Annotations
2 errors and 10 warnings
Run lint βοΈ:
src/apps/dashboard/routes/users/parentalcontrol.tsx#L482
Do not use Array index in keys
|
Run lint βοΈ
Process completed with exit code 1.
|
Run lint βοΈ:
src/apps/dashboard/components/AppTabs.tsx#L56
Unexpected 'hack' comment: 'HACK: Force resizing to workaround...'
|
Run lint βοΈ:
src/apps/dashboard/routes/users/access.tsx#L141
React Hook useCallback has a missing dependency: 'libraryMenu'. Either include it or remove the dependency array
|
Run lint βοΈ:
src/apps/dashboard/routes/users/access.tsx#L239
React Hook useEffect has a missing dependency: 'userId'. Either include it or remove the dependency array
|
Run lint βοΈ:
src/apps/dashboard/routes/users/parentalcontrol.tsx#L320
Assignments to the 'accessSchedulesPopupCallback' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
Run lint βοΈ:
src/apps/dashboard/routes/users/parentalcontrol.tsx#L334
Assignments to the 'allowedTagsPopupCallback' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
Run lint βοΈ:
src/apps/dashboard/routes/users/parentalcontrol.tsx#L340
Assignments to the 'blockedTagsPopupCallback' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
Run lint βοΈ:
src/apps/dashboard/routes/users/parentalcontrol.tsx#L346
Assignments to the 'formSubmissionCallback' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
Run lint βοΈ:
src/apps/dashboard/routes/users/profile.tsx#L176
React Hook useCallback has a missing dependency: 'libraryMenu'. Either include it or remove the dependency array
|
Run lint βοΈ:
src/apps/dashboard/routes/users/profile.tsx#L185
React Hook useCallback has a missing dependency: 'getUser'. Either include it or remove the dependency array
|
Run lint βοΈ:
src/apps/dashboard/routes/users/profile.tsx#L264
React Hook useEffect has a missing dependency: 'getUser'. Either include it or remove the dependency array
|
Loading