fix: Fix lodash module not found issue (#16953)

This commit is contained in:
HuDenghui 2025-04-01 12:16:49 +08:00 committed by GitHub
parent d5b48a0aa3
commit 4b5ec242e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { get } from 'lodash'
import { get } from 'lodash-es'
import { buildChatItemTree, getThreadMessages } from '../utils'
import type { ChatItemInTree } from '../types'
import branchedTestMessages from './branchedTestMessages.json'

View File

@ -1,6 +1,6 @@
import { useCallback, useEffect, useState } from 'react'
import { useBoolean } from 'ahooks'
import { uniqueId } from 'lodash'
import { uniqueId } from 'lodash-es'
import type { KeyValue } from '../types'
const UNIQUE_ID_PREFIX = 'key-value-'