mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 12:29:44 +08:00
refactor: consolidate queue utility imports in messageThunk.ts
- Combined separate imports of `getTopicQueue` and `waitForTopicQueue` from the queue utility into a single import statement for improved code clarity and organization.
This commit is contained in:
parent
e690da840c
commit
33db455e32
@ -16,8 +16,7 @@ import {
|
|||||||
createTranslationBlock,
|
createTranslationBlock,
|
||||||
resetAssistantMessage
|
resetAssistantMessage
|
||||||
} from '@renderer/utils/messageUtils/create'
|
} from '@renderer/utils/messageUtils/create'
|
||||||
import { getTopicQueue } from '@renderer/utils/queue'
|
import { getTopicQueue, waitForTopicQueue } from '@renderer/utils/queue'
|
||||||
import { waitForTopicQueue } from '@renderer/utils/queue'
|
|
||||||
import { t } from 'i18next'
|
import { t } from 'i18next'
|
||||||
import { isEmpty, throttle } from 'lodash'
|
import { isEmpty, throttle } from 'lodash'
|
||||||
import { LRUCache } from 'lru-cache'
|
import { LRUCache } from 'lru-cache'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user