fix: Fix lodash module not found issue (#16953)
This commit is contained in:
parent
d5b48a0aa3
commit
4b5ec242e7
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { get } from 'lodash'
|
import { get } from 'lodash-es'
|
||||||
import { buildChatItemTree, getThreadMessages } from '../utils'
|
import { buildChatItemTree, getThreadMessages } from '../utils'
|
||||||
import type { ChatItemInTree } from '../types'
|
import type { ChatItemInTree } from '../types'
|
||||||
import branchedTestMessages from './branchedTestMessages.json'
|
import branchedTestMessages from './branchedTestMessages.json'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { useCallback, useEffect, useState } from 'react'
|
import { useCallback, useEffect, useState } from 'react'
|
||||||
import { useBoolean } from 'ahooks'
|
import { useBoolean } from 'ahooks'
|
||||||
import { uniqueId } from 'lodash'
|
import { uniqueId } from 'lodash-es'
|
||||||
import type { KeyValue } from '../types'
|
import type { KeyValue } from '../types'
|
||||||
|
|
||||||
const UNIQUE_ID_PREFIX = 'key-value-'
|
const UNIQUE_ID_PREFIX = 'key-value-'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue