From f8fabb6dead33625d06716875a957f9c7df35c3a Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 30 Aug 2017 22:54:38 +0200 Subject: [PATCH] [Popover] Fix wrong wording in the warning --- src/Popover/Popover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Popover/Popover.js b/src/Popover/Popover.js index 99acd4653e2fe0..c67a8a87fb786c 100644 --- a/src/Popover/Popover.js +++ b/src/Popover/Popover.js @@ -330,7 +330,7 @@ class Popover extends React.Component { this.props.anchorOrigin.vertical === 'top', [ 'Material-UI: You can change the `anchorOrigin.vertical` value when also ', - 'providing the `getContentAnchorOffset` property. Pick one.', + 'providing the `getContentAnchorEl` property. Pick one.', ].join(), ); }