Fix tags and schedule edit for parental control #112
Annotations
3 errors and 10 warnings
Run lint βοΈ:
src/elements/IconButtonElement.tsx#L34
Visible, non-interactive elements with click handlers must have at least one keyboard listener
|
Run lint βοΈ:
src/elements/IconButtonElement.tsx#L34
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element
|
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#L190
React Hook useCallback has a missing dependency: 'libraryMenu'. Either include it or remove the dependency array
|
Run lint βοΈ:
src/apps/dashboard/routes/users/parentalcontrol.tsx#L316
Unexpected 'fixme' comment: 'FIXME: The following is still hacky and...'
|
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
|
Loading