Fix firebase deploy #98
Annotations
2 warnings
|
check:
src/contexts/theme.tsx#L33
The 'toggleTheme' function makes the dependencies of useMemo Hook (at line 54) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'toggleTheme' in its own useCallback() Hook
|
|
check:
src/components/section.tsx#L39
The ref value 'dataRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'dataRef.current' to a variable inside the effect, and use that variable in the cleanup function
|