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)
This commit is contained in:
balibabu
2024-09-14 17:19:04 +08:00
committed by GitHub
parent b94c15ef1e
commit 1621313c0f
5 changed files with 62 additions and 31 deletions

View File

@ -0,0 +1,5 @@
import { createContext } from 'react';
export const ConversationContext = createContext<
null | ((isPlaying: boolean) => void)
>(null);