fix: resolves issue with treenav in production #555
Annotations
8 warnings
Validate:
packages/example/gatsby-ssr.js#L24
Dangerous property 'dangerouslySetInnerHTML' found
|
Validate:
packages/gatsby-theme-carbon/src/components/FeedbackDialog/Experience.js#L18
Component definition is missing display name
|
Validate:
packages/gatsby-theme-carbon/src/components/LeftNav/LeftNav.js#L55
React Hook useEffect has a missing dependency: 'hasNestedLevels'. Either include it or remove the dependency array
|
Validate:
packages/gatsby-theme-carbon/src/components/LeftNav/LeftNavTree.js#L29
'i' is defined but never used. Allowed unused args must match /res|next|^err|^_/u
|
Validate:
packages/gatsby-theme-carbon/src/components/LeftNav/LeftNavTree.js#L104
React Hook useEffect has a missing dependency: 'isTabActive'. Either include it or remove the dependency array
|
Validate:
packages/gatsby-theme-carbon/src/components/LeftNav/LeftNavTree.js#L175
'prevProps' is defined but never used. Allowed unused args must match /res|next|^err|^_/u
|
Validate:
packages/gatsby-theme-carbon/src/components/Tabs/Tabs.js#L141
React Hook useMemo has an unnecessary dependency: 'tabList.current'. Either exclude it or remove the dependency array. Mutable values like 'tabList.current' aren't valid dependencies because mutating them doesn't re-render the component
|
Validate:
packages/gatsby-theme-carbon/src/util/context/NavContext.js#L33
The 'toggleNavState' function makes the dependencies of useMemo Hook (at line 51) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'toggleNavState' in its own useCallback() Hook
|
Loading