Update import to new pluginNames location (https://github.com/woocommerce/woocommerce-admin/pull/4461)
This commit is contained in:
parent
f132e35c7b
commit
04e39480af
|
@ -11,8 +11,7 @@ import { withSelect, withDispatch } from '@wordpress/data';
|
|||
/**
|
||||
* WooCommerce dependencies
|
||||
*/
|
||||
import { PLUGINS_STORE_NAME } from '@woocommerce/data';
|
||||
import { pluginNames } from 'wc-api/onboarding/constants';
|
||||
import { pluginNames, PLUGINS_STORE_NAME } from '@woocommerce/data';
|
||||
|
||||
export class Plugins extends Component {
|
||||
constructor() {
|
||||
|
@ -108,12 +107,7 @@ export class Plugins extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
isRequesting,
|
||||
skipText,
|
||||
autoInstall,
|
||||
pluginSlugs,
|
||||
} = this.props;
|
||||
const { isRequesting, skipText, autoInstall, pluginSlugs } = this.props;
|
||||
const { hasErrors } = this.state;
|
||||
|
||||
if ( hasErrors ) {
|
||||
|
|
Loading…
Reference in New Issue