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

@ -4,7 +4,7 @@ import type { ToolVarInputs } from '../types'
import type { CredentialFormSchema } from '@/app/components/header/account-setting/model-provider-page/declarations'
import type { Tool } from '@/app/components/tools/types'
import type { ToolWithProvider, ValueSelector, Var } from '@/app/components/workflow/types'
import { noop } from 'es-toolkit/compat'
import { noop } from 'es-toolkit/function'
import { produce } from 'immer'
import * as React from 'react'
import { useCallback, useState } from 'react'