Commit that shit v2 #31
Annotations
8 warnings
|
check:
src/lib/CartContext.tsx#L16
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
check:
src/hooks/useUserPoints.ts#L58
React Hook useEffect has a missing dependency: 'fetchPoints'. Either include it or remove the dependency array
|
|
check:
src/hooks/useUserOrders.ts#L42
React Hook useEffect has a missing dependency: 'fetchOrders'. Either include it or remove the dependency array
|
|
check:
src/components/ui/stars-background.tsx#L76
The ref value 'canvasRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'canvasRef.current' to a variable inside the effect, and use that variable in the cleanup function
|
|
check:
src/components/ui/button.tsx#L56
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
check:
src/components/logic/AnimatedNumber.tsx#L30
React Hook useEffect has a missing dependency: 'model'. Either include it or remove the dependency array
|
|
check:
src/components/Stars.tsx#L205
React Hook useEffect has a missing dependency: 'stars.length'. Either include it or remove the dependency array
|
|
check:
src/components/Stars.tsx#L23
The 'starChars' array makes the dependencies of useCallback Hook (at line 72) change on every render. To fix this, wrap the initialization of 'starChars' in its own useMemo() Hook
|