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
*/
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 { createElement, RawHTML } from '@wordpress/element';

View File

@ -2,7 +2,6 @@
* External dependencies
*/
import { WooHeaderItem } from '@woocommerce/admin-layout';
import { Product, ProductVariation } from '@woocommerce/data';
import { useEntityProp } from '@wordpress/core-data';
import { useSelect } from '@wordpress/data';
import { createElement } from '@wordpress/element';

View File

@ -6,7 +6,6 @@ import { Button } from '@wordpress/components';
import { createElement } from '@wordpress/element';
import { arrowLeft, arrowRight, Icon } from '@wordpress/icons';
import { useSelect } from '@wordpress/data';
import { ProductVariation } from '@woocommerce/data';
import { recordEvent } from '@woocommerce/tracks';
/**

View File

@ -2,10 +2,7 @@
* External dependencies
*/
import { useSelect, useDispatch } from '@wordpress/data';
import {
EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME,
Product,
} from '@woocommerce/data';
import { EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME } from '@woocommerce/data';
import { getNewPath, navigateTo } from '@woocommerce/navigation';
type VariationSwitcherProps = {