Skip to content

Fix missing unique key prop in Contributors.js #59

@RTEYL

Description

@RTEYL

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

in components/layouts/Contributors.js contributors are mapped but the box component does not have a unique key prop

Describe the solution you'd like
A clear and concise description of what you want to happen.

provide the box component with a key prop to avoid errors and error messages

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

{contributors.map((contributor) => (

// add prop key={some_unique_value} to Box component or key={contributor._id)}
        <Box component='span' m={0} id={contributor._id}>
          <Typography component='p'>{contributor.name}</Typography>
          <Link href={contributor.link}>see more...</Link>
        </Box>
      ))}

Metadata

Metadata

Assignees

No one assigned

    Labels

    MUIAny components using materialbugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions