Linting Fixes
This commit is contained in:
parent
215e665eec
commit
11521bf8e6
|
@ -2,7 +2,7 @@
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
import { BlockIcon as BaseBlockIcon } from '@wordpress/block-editor';
|
import { BlockIcon as BaseBlockIcon } from '@wordpress/block-editor';
|
||||||
import { Block, BlockAttributes } from '@wordpress/blocks';
|
import { Block } from '@wordpress/blocks';
|
||||||
import { useSelect } from '@wordpress/data';
|
import { useSelect } from '@wordpress/data';
|
||||||
import { createElement, RawHTML } from '@wordpress/element';
|
import { createElement, RawHTML } from '@wordpress/element';
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
import { WooHeaderItem } from '@woocommerce/admin-layout';
|
import { WooHeaderItem } from '@woocommerce/admin-layout';
|
||||||
import { Product, ProductVariation } from '@woocommerce/data';
|
|
||||||
import { useEntityProp } from '@wordpress/core-data';
|
import { useEntityProp } from '@wordpress/core-data';
|
||||||
import { useSelect } from '@wordpress/data';
|
import { useSelect } from '@wordpress/data';
|
||||||
import { createElement } from '@wordpress/element';
|
import { createElement } from '@wordpress/element';
|
||||||
|
|
|
@ -6,7 +6,6 @@ import { Button } from '@wordpress/components';
|
||||||
import { createElement } from '@wordpress/element';
|
import { createElement } from '@wordpress/element';
|
||||||
import { arrowLeft, arrowRight, Icon } from '@wordpress/icons';
|
import { arrowLeft, arrowRight, Icon } from '@wordpress/icons';
|
||||||
import { useSelect } from '@wordpress/data';
|
import { useSelect } from '@wordpress/data';
|
||||||
import { ProductVariation } from '@woocommerce/data';
|
|
||||||
import { recordEvent } from '@woocommerce/tracks';
|
import { recordEvent } from '@woocommerce/tracks';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2,10 +2,7 @@
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
import { useSelect, useDispatch } from '@wordpress/data';
|
import { useSelect, useDispatch } from '@wordpress/data';
|
||||||
import {
|
import { EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME } from '@woocommerce/data';
|
||||||
EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME,
|
|
||||||
Product,
|
|
||||||
} from '@woocommerce/data';
|
|
||||||
import { getNewPath, navigateTo } from '@woocommerce/navigation';
|
import { getNewPath, navigateTo } from '@woocommerce/navigation';
|
||||||
|
|
||||||
type VariationSwitcherProps = {
|
type VariationSwitcherProps = {
|
||||||
|
|
Loading…
Reference in New Issue