Skip to content

Fixed module path error in comment component #11

Fixed module path error in comment component

Fixed module path error in comment component #11

Triggered via push August 22, 2025 13:00
Status Success
Total duration 28m 41s
Artifacts 1

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
test: app/screens/Profile.tsx#L64
The 'showPosts' function makes the dependencies of useEffect Hook (at line 71) change on every render. To fix this, wrap the definition of 'showPosts' in its own useCallback() Hook
test: app/screens/Profile.tsx#L44
React Hook React.useCallback has a missing dependency: 'showPosts'. Either include it or remove the dependency array
test: app/screens/Profile.tsx#L29
'setLikedPosts' is assigned a value but never used
test: app/screens/Home.tsx#L103
React Hook useEffect has a missing dependency: 'loadPosts'. Either include it or remove the dependency array
test: app/screens/Home.tsx#L80
The 'loadPosts' function makes the dependencies of useCallback Hook (at line 46) change on every render. To fix this, wrap the definition of 'loadPosts' in its own useCallback() Hook
test: app/screens/CommentSection.tsx#L85
The 'loadComments' function makes the dependencies of useEffect Hook (at line 120) change on every render. To fix this, wrap the definition of 'loadComments' in its own useCallback() Hook
test: app/screens/CommentSection.tsx#L52
React Hook React.useCallback has a missing dependency: 'loadComments'. Either include it or remove the dependency array
test: app/contexts/userContext.tsx#L2
'Timestamp' is defined but never used
test: app/components/containers/post.tsx#L182
Expected an assignment or function call and instead saw an expression
test: app/components/containers/post.tsx#L141
The 'getOP' function makes the dependencies of useEffect Hook (at line 68) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'getOP' in its own useCallback() Hook

Artifacts

Produced during runtime
Name Size Digest
app-builds Expired
38.1 MB
sha256:605f5d21dc416ca856b101a2034cc89e54deb584d100b288a6a3ae4b076e4845