From 52d046f3e8098c2831a10d3906cee06931f56d64 Mon Sep 17 00:00:00 2001 From: Vipul Gupta Date: Mon, 19 Aug 2024 14:51:01 +0530 Subject: [PATCH] refactor: Update textControl to searchControl in taxonomy search. --- .../components/post-taxonomies/hierarchical-term-selector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-taxonomies/hierarchical-term-selector.js b/packages/editor/src/components/post-taxonomies/hierarchical-term-selector.js index 79039d0a5d0d25..2f8a5ba51676f1 100644 --- a/packages/editor/src/components/post-taxonomies/hierarchical-term-selector.js +++ b/packages/editor/src/components/post-taxonomies/hierarchical-term-selector.js @@ -12,6 +12,7 @@ import { withFilters, Flex, FlexItem, + SearchControl, } from '@wordpress/components'; import { useDispatch, useSelect } from '@wordpress/data'; import { useDebounce } from '@wordpress/compose'; @@ -406,7 +407,7 @@ export function HierarchicalTermSelector( { slug } ) { return ( { showFilter && ( -