fixed missing key on sidebar
This commit is contained in:
@@ -8,7 +8,7 @@ function Content() {
|
||||
<Container maxWidth="xs" sx={{display:"flex", flexDirection:"column", gap:"5px", maxWidth: {xs:"100%", md:"300px"}, pr:{md:"0px !important",xs:"20px"}}}>
|
||||
{cardData.map((item, index) => (
|
||||
// <Grid key={index} size={{ xs: 12, md: 3 }} >
|
||||
<SmallCard data={ item } idx={index} />
|
||||
<SmallCard data={ item } idx={index} key={index}/>
|
||||
// </Grid>
|
||||
))}
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user