File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
package/src/components/Channel Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,6 @@ import {
6969 MessagesContextValue ,
7070 MessagesProvider ,
7171} from '../../contexts/messagesContext/MessagesContext' ;
72- import {
73- OverlayContextValue ,
74- useOverlayContext ,
75- } from '../../contexts/overlayContext/OverlayContext' ;
7672import {
7773 OwnCapabilitiesContextValue ,
7874 OwnCapabilitiesProvider ,
@@ -272,7 +268,6 @@ const debounceOptions = {
272268} ;
273269
274270export type ChannelPropsWithContext = Pick < ChannelContextValue , 'channel' > &
275- Pick < OverlayContextValue , 'overlay' | 'overlayOpacity' > &
276271 Partial <
277272 Pick < AttachmentPickerContextValue , 'bottomInset' | 'topInset' | 'disableAttachmentPicker' >
278273 > &
@@ -2110,7 +2105,6 @@ export type ChannelProps = Partial<Omit<ChannelPropsWithContext, 'channel' | 'th
21102105export const Channel = ( props : PropsWithChildren < ChannelProps > ) => {
21112106 const { client, enableOfflineSupport, isOnline, isMessageAIGenerated } = useChatContext ( ) ;
21122107 const { t } = useTranslationContext ( ) ;
2113- const { overlay, overlayOpacity } = useOverlayContext ( ) ;
21142108
21152109 const threadFromProps = props ?. thread ;
21162110 const threadInstance = ( threadFromProps as ThreadType ) ?. threadInstance as Thread ;
@@ -2142,8 +2136,6 @@ export const Channel = (props: PropsWithChildren<ChannelProps>) => {
21422136 { ...{
21432137 isMessageAIGenerated,
21442138 isOnline,
2145- overlay,
2146- overlayOpacity,
21472139 setThreadMessages,
21482140 thread,
21492141 threadMessages,
You can’t perform that action at this time.
0 commit comments