We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8775fe7 commit 5a6a066Copy full SHA for 5a6a066
1 file changed
src/pages/blogs/index.tsx
@@ -236,8 +236,8 @@ export default function Blogs(): React.JSX.Element {
236
237
<div className="articles-grid">
238
{filteredBlogs.length > 0 ? (
239
- filteredBlogs.map((blog, index) => (
240
- <BlogCard key={blog.id} blog={blog} index={index} />
+ filteredBlogs.map((blog) => (
+ <BlogCard key={blog.id} blog={blog} />
241
))
242
) : (
243
<div className="no-results">
@@ -265,7 +265,7 @@ export default function Blogs(): React.JSX.Element {
265
);
266
}
267
268
-const BlogCard = ({ blog, index }) => {
+const BlogCard = ({ blog }) => {
269
// Get authors for this blog post
270
const getAuthors = (slug) => {
271
const authors = authorMapping[slug] || ["recode hive Team"];
0 commit comments