Linting Fixes

This commit is contained in:
Christopher Allford 2023-12-09 23:49:53 -08:00
parent 215e665eec
commit 11521bf8e6
4 changed files with 2 additions and 7 deletions

View File

@ -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';

View File

@ -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';

View File

@ -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';
/** /**

View File

@ -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 = {