Skip to content

Commit

Permalink
Nux package: fix incorrect named deprecated import (#11283)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vindl authored and gziolo committed Oct 31, 2018
1 parent 3d9e99b commit 55d5aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nux/src/components/dot-tip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55d5aac

Please sign in to comment.