File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ export const useCreateInputMessageInputContext = ({
7070 */
7171 channelId ?: string ;
7272} ) => {
73- // const editingDep = editing ? editing.id : '';
74-
7573 const inputMessageInputContext : InputMessageInputContextValue = useMemo (
7674 ( ) => ( {
7775 additionalTextInputProps,
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export const useMessageActionHandlers = ({
2525> &
2626 Pick < ChannelContextValue , 'channel' | 'enforceUniqueReaction' > &
2727 Pick < ChatContextValue , 'client' > &
28- Pick < MessageContextValue , 'message' | 'setQuotedMessage' > &
29- Pick < MessageComposerAPIContextValue , 'setEditingState' > ) => {
28+ Pick < MessageContextValue , 'message' > &
29+ Pick < MessageComposerAPIContextValue , 'setEditingState' | 'setQuotedMessage' > ) => {
3030 const { t } = useTranslationContext ( ) ;
3131 const handleResendMessage = ( ) => retrySendMessage ( message ) ;
3232
Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ export type MessageActionsHookProps = Pick<
5858 Pick < ChannelContextValue , 'channel' | 'enforceUniqueReaction' > &
5959 Pick < ChatContextValue , 'client' > &
6060 Pick < ThreadContextValue , 'openThread' > &
61- Pick < MessageContextValue , 'dismissOverlay' | 'message' | 'setQuotedMessage' > &
61+ Pick < MessageContextValue , 'dismissOverlay' | 'message' > &
6262 Pick < TranslationContextValue , 't' > & {
6363 onThreadSelect ?: ( message : LocalMessage ) => void ;
64- } & Pick < MessageComposerAPIContextValue , 'setEditingState' > ;
64+ } & Pick < MessageComposerAPIContextValue , 'setEditingState' | 'setQuotedMessage' > ;
6565
6666export const useMessageActions = ( {
6767 channel,
You can’t perform that action at this time.
0 commit comments