Merge pull request #263 from codecoolture/renovate/node-22.x #2114
Annotations
4 warnings
|
analyze:
hooks/useFathom.ts#L24
React Hook useEffect has a missing dependency: 'router.events'. Either include it or remove the dependency array
|
|
analyze:
contexts/DarkModeContext.tsx#L23
The 'toggleDarkMode' function makes the dependencies of useMemo Hook (at line 31) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'toggleDarkMode' in its own useCallback() Hook
|
|
analyze:
components/Figure/index.tsx#L14
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
|
analyze:
components/Figure/index.tsx#L14
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|