diggsweden / jitsi-moderator

Advanced Jitsi meet management for moderators.
Apache License 2.0
0 stars 2 forks source link

Convert Styled Components props to Transient Props #6

Closed Ayko1595 closed 9 months ago

Ayko1595 commented 10 months ago

Contact Details

konstantin.ay@intunio.se

What happened?

The project uses Styled Components and injects props the normal way without adding the $ symbol to pass down transient props. This has not triggered warnings in earlier versions of Styled Components. As of version 6 it is required and we should convert Styled Component props to transient props throughout the project.

Steps To Reproduce

  1. Run the project in dev mode with yarn run start
  2. Navigate to the site with any web browser
  3. Open the console

The warning should be visible in the console.

What did you expect?

It should not trigger any warnings.

Version

No response

Optional Screenshots

No response

Relevant log output

Warning: React does not recognize the `buttonType` prop on a DOM element.