|  | @@ -1,4 +1,3 @@
 | 
	
		
			
				|  |  | -import { useContext } from 'use-context-selector'
 | 
	
		
			
				|  |  |  import { useTranslation } from 'react-i18next'
 | 
	
		
			
				|  |  |  import Button from '../../base/button'
 | 
	
		
			
				|  |  |  import Tag from '../../base/tag'
 | 
	
	
		
			
				|  | @@ -6,7 +5,6 @@ import Tooltip from '../../base/tooltip'
 | 
	
		
			
				|  |  |  import { getIcon } from '../common/retrieval-method-info'
 | 
	
		
			
				|  |  |  import s from './style.module.css'
 | 
	
		
			
				|  |  |  import cn from '@/utils/classnames'
 | 
	
		
			
				|  |  | -import DatasetDetailContext from '@/context/dataset-detail'
 | 
	
		
			
				|  |  |  import type { HitTestingResponse } from '@/models/datasets'
 | 
	
		
			
				|  |  |  import { hitTesting } from '@/service/datasets'
 | 
	
		
			
				|  |  |  import { asyncRunSafe } from '@/utils'
 | 
	
	
		
			
				|  | @@ -40,7 +38,6 @@ const TextAreaWithButton = ({
 | 
	
		
			
				|  |  |    onSubmit: _onSubmit,
 | 
	
		
			
				|  |  |  }: TextAreaWithButtonIProps) => {
 | 
	
		
			
				|  |  |    const { t } = useTranslation()
 | 
	
		
			
				|  |  | -  const { indexingTechnique } = useContext(DatasetDetailContext)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    function handleTextChange(event: any) {
 | 
	
		
			
				|  |  |      setText(event.target.value)
 |