Files
ragflow/web/src/pages/chat/context.ts
balibabu 1621313c0f feat: After the voice in the new conversation window is played, jump to the tab of the conversation #1877 (#2440)
### What problem does this PR solve?

feat: After the voice in the new conversation window is played, jump to
the tab of the conversation #1877

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-09-14 17:19:04 +08:00

6 lines
139 B
TypeScript

import { createContext } from 'react';
export const ConversationContext = createContext<
null | ((isPlaying: boolean) => void)
>(null);