Skip to content

Commit 329bc8a

Browse files
committed
fix: add missing comma in ArticleFeed component for array splicing
- Added a comma after the number 4 in the array splice method to ensure correct syntax and prevent potential errors in the ArticleFeed component.
1 parent ce13cb8 commit 329bc8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/(home)/_components/ArticleFeed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const ArticleFeed = () => {
8585
!article?.cover_image
8686
? extractImageUrlsFromMarkdown(article?.body ?? "")?.splice(
8787
0,
88-
4
88+
4,
8989
)
9090
: []
9191
}

0 commit comments

Comments
 (0)