Skip to content

Commit c58fd6e

Browse files
set the key prop properly
1 parent 6f5e8a6 commit c58fd6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/Home/Components/Collaborate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ const Collaborate = () => {
8989
/>
9090
<Row className="about-card-container">
9191
{collaborationMethods.map((ele, index) => (
92-
<Col sm={6} md={4} lg={3} className="collaborate-card-container">
93-
<CollaborateCard {...ele} key={index} />
92+
<Col key={index} sm={6} md={4} lg={3} className="collaborate-card-container">
93+
<CollaborateCard {...ele} />
9494
</Col>
9595
))}
9696
</Row>

0 commit comments

Comments
 (0)