Update actions/setup-node action to v6 #2116
Annotations
4 warnings
|
Run yarn analyze:
hooks/useFathom.ts#L24
React Hook useEffect has a missing dependency: 'router.events'. Either include it or remove the dependency array
|
|
Run yarn 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
|
|
Run yarn analyze:
components/Figure/index.tsx#L14
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
|
Run yarn 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
|
Loading