Skip to content

Frontend: each child should have a unique key prop #91

@GuillaumeLeroy34

Description

@GuillaumeLeroy34

Describe the bug
The stream container in the streamPlayerScreen page do not have a unique "index" prop, which makes react sad, as it makes the component impure ( ie the divs inside maybe placed at random). Not a critical bug, as the placeholder divs are identical, but solving this issue will lead to a cleaner web console for debugging purposes.

To Reproduce
Steps to reproduce the behavior:

  1. Go to StreamPlayerScreen or any other page containing the VideoStreamManager component
  2. open the web console
  3. the error is there

Expected behavior
The component should be pure, and an index must be generated and attributed to each div to make the warning go away.

Metadata

Metadata

Labels

🎨 FrontendIssues related to HTML, CSS, JavaScript.😱 BugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions