mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-07-13 12:27:49 +00:00
fix(toolbar): fix proptype warning
The implementation of ToolbarButtonWithDialog expects a constructor function for now, not the object returned from calling a constructor function.
This commit is contained in:
@@ -48,7 +48,7 @@ class ToolbarButtonWithDialog extends Component {
|
||||
/**
|
||||
* The React Component to show within {@code InlineDialog}.
|
||||
*/
|
||||
content: PropTypes.object,
|
||||
content: PropTypes.func,
|
||||
|
||||
/**
|
||||
* From which side tooltips should display. Will be re-used for
|
||||
|
||||
Reference in New Issue
Block a user