We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9137da commit aa2b63bCopy full SHA for aa2b63b
1 file changed
packages/webapp/src/components/TipTap/tableOfContents/hooks/useOpenChatContainer.ts
@@ -10,7 +10,7 @@ const useOpenChatContainer = () => {
10
} = useStore((state) => state.settings)
11
12
const openChatContainerHandler = useCallback(
13
- (item: any, data: any) => {
+ (item: any, data?: any) => {
14
if (!editor) return
15
16
PubSub.publish(CHAT_OPEN, {
0 commit comments