File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
contexts/channelsStateContext Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,15 @@ export type MessagePropsWithContext<
125125> = Pick < ChannelContextValue < StreamChatGenerics > , 'channel' | 'enforceUniqueReaction' | 'members' > &
126126 Pick < KeyboardContextValue , 'dismissKeyboard' > &
127127 Partial <
128- Omit < MessageContextValue < StreamChatGenerics > , 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' >
128+ Omit <
129+ MessageContextValue < StreamChatGenerics > ,
130+ 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated'
131+ >
132+ > &
133+ Pick <
134+ MessageContextValue < StreamChatGenerics > ,
135+ 'groupStyles' | 'message' | 'isMessageAIGenerated'
129136 > &
130- Pick < MessageContextValue < StreamChatGenerics > , 'groupStyles' | 'message' | 'isMessageAIGenerated' > &
131137 Pick <
132138 MessagesContextValue < StreamChatGenerics > ,
133139 | 'sendReaction'
Original file line number Diff line number Diff line change 11import { ChannelState } from 'stream-chat' ;
2+
23import type { PaginatedMessageListContextValue } from '../../../contexts/paginatedMessageListContext/PaginatedMessageListContext' ;
34import type { ThreadContextValue } from '../../../contexts/threadContext/ThreadContext' ;
45import type { DefaultStreamChatGenerics } from '../../../types/types' ;
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import React, {
77 useReducer ,
88 useRef ,
99} from 'react' ;
10+
1011import { ChannelState as StreamChannelState } from 'stream-chat' ;
1112
1213import type { DefaultStreamChatGenerics } from '../../types/types' ;
You can’t perform that action at this time.
0 commit comments