react-trello icon indicating copy to clipboard operation
react-trello copied to clipboard

Warning when Card description is a JSX element

Open allgood opened this issue 1 year ago • 0 comments

Describe the bug When the description property of Card is a JSX the code works but emits a warning on console

Warning: Failed prop type: Invalid prop description of type object supplied to Card, expected string.

To Reproduce Just create a card with a JSX element as description property

Expected behavior No warning on console

Desktop (please complete the following information):

  • OS: Linux
  • Browser chrome
  • Version 121.0.6167.184

allgood avatar Apr 26 '24 12:04 allgood