chore: lint code to remove unused imports and variables (#7033)
This commit is contained in:
parent
1a302ca957
commit
4c4f6e362f
10 changed files with 3 additions and 21 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue