From eae3bead87923263d15b6150e4f57c14aa4dcb49 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Mon, 25 Sep 2017 12:03:11 -0700 Subject: [PATCH] fix(toolbar): fix proptype warning The implementation of ToolbarButtonWithDialog expects a constructor function for now, not the object returned from calling a constructor function. --- .../features/toolbox/components/ToolbarButtonWithDialog.web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/toolbox/components/ToolbarButtonWithDialog.web.js b/react/features/toolbox/components/ToolbarButtonWithDialog.web.js index d1afb5590..a3e45982e 100644 --- a/react/features/toolbox/components/ToolbarButtonWithDialog.web.js +++ b/react/features/toolbox/components/ToolbarButtonWithDialog.web.js @@ -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