From 55d5aac9550ca423caeba8359ddc17a48e28f21b Mon Sep 17 00:00:00 2001 From: Marko Andrijasevic Date: Wed, 31 Oct 2018 08:01:29 +0100 Subject: [PATCH] Nux package: fix incorrect named deprecated import (#11283) DotTip component was attempting to import a named export of deprecated which is not provided by @wordpress/deprecated package. This switches it to use the deafult export instead. --- packages/nux/src/components/dot-tip/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nux/src/components/dot-tip/index.js b/packages/nux/src/components/dot-tip/index.js index dbd81c45d13a6..45c7a768e2089 100644 --- a/packages/nux/src/components/dot-tip/index.js +++ b/packages/nux/src/components/dot-tip/index.js @@ -5,7 +5,7 @@ import { compose } from '@wordpress/compose'; import { Popover, Button, IconButton } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { withSelect, withDispatch } from '@wordpress/data'; -import { deprecated } from '@wordpress/deprecated'; +import deprecated from '@wordpress/deprecated'; function getAnchorRect( anchor ) { // The default getAnchorRect() excludes an element's top and bottom padding