feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246)

This commit is contained in:
yyh
2025-12-31 11:13:22 +08:00
committed by GitHub
parent 64dc98e607
commit 2aaaa4bd34
160 changed files with 172 additions and 169 deletions

View File

@ -2,7 +2,8 @@
import type { FC } from 'react'
import type { IChatItem } from '@/app/components/base/chat/chat/type'
import type { AgentIteration, AgentLogDetailResponse } from '@/models/log'
import { flatten, uniq } from 'es-toolkit/compat'
import { uniq } from 'es-toolkit/array'
import { flatten } from 'es-toolkit/compat'
import * as React from 'react'
import { useCallback, useEffect, useMemo, useState } from 'react'
import { useTranslation } from 'react-i18next'