diff --git a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/clear-button/frontend.ts b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/clear-button/frontend.ts index db98f01b973..9eeedb562a4 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/clear-button/frontend.ts +++ b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/clear-button/frontend.ts @@ -8,11 +8,6 @@ */ import { store, getContext } from '@woocommerce/interactivity'; -/** - * Internal dependencies - */ -import { navigate } from '../../frontend'; - const getQueryParams = ( e: Event ) => { const filterNavContainer = ( e.target as HTMLElement )?.closest( 'nav.wp-block-woocommerce-product-filter' diff --git a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/price-filter/frontend.ts b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/price-filter/frontend.ts index 37d256edb29..0723d196022 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/price-filter/frontend.ts +++ b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/price-filter/frontend.ts @@ -9,7 +9,6 @@ import { debounce } from '@woocommerce/base-utils'; /** * Internal dependencies */ -import { navigate } from '../../frontend'; import type { PriceFilterContext, PriceFilterStore } from './types'; const getUrl = ( context: PriceFilterContext ) => { diff --git a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/rating-filter/frontend.ts b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/rating-filter/frontend.ts index 55cc0abdab6..59abfdaecb1 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/rating-filter/frontend.ts +++ b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/rating-filter/frontend.ts @@ -5,11 +5,6 @@ import { getContext, store } from '@woocommerce/interactivity'; import { CheckboxListContext } from '@woocommerce/interactivity-components/checkbox-list'; import { DropdownContext } from '@woocommerce/interactivity-components/dropdown'; -/** - * Internal dependencies - */ -import { navigate } from '../../frontend'; - function getUrl( filters: Array< string | null > ) { filters = filters.filter( Boolean ); const url = new URL( window.location.href ); diff --git a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/stock-filter/frontend.ts b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/stock-filter/frontend.ts index 4755176edcc..b49bfbf1100 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/stock-filter/frontend.ts +++ b/plugins/woocommerce-blocks/assets/js/blocks/product-filters/inner-blocks/stock-filter/frontend.ts @@ -6,11 +6,6 @@ import { DropdownContext } from '@woocommerce/interactivity-components/dropdown' import { HTMLElementEvent } from '@woocommerce/types'; import { CheckboxListContext } from '@woocommerce/interactivity-components/checkbox-list'; -/** - * Internal dependencies - */ -import { navigate } from '../../frontend'; - const getUrl = ( activeFilters: string ) => { const url = new URL( window.location.href ); const { searchParams } = url;