Skip to content

Commit 1c45b51

Browse files
committed
feat: add poll composer
1 parent 16c16a4 commit 1c45b51

File tree

10 files changed

+409
-165
lines changed

10 files changed

+409
-165
lines changed

package/src/components/Channel/Channel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
17321732
channel,
17331733
channelUnreadState,
17341734
disabled: !!channel?.data?.frozen,
1735+
editing,
17351736
EmptyStateIndicator,
17361737
enableMessageGroupingByUser,
17371738
enforceUniqueReaction,

package/src/components/Channel/hooks/useCreateChannelContext.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const useCreateChannelContext = ({
66
channel,
77
channelUnreadState,
88
disabled,
9+
editing,
910
EmptyStateIndicator,
1011
enableMessageGroupingByUser,
1112
enforceUniqueReaction,
@@ -51,6 +52,7 @@ export const useCreateChannelContext = ({
5152
channel,
5253
channelUnreadState,
5354
disabled,
55+
editing,
5456
EmptyStateIndicator,
5557
enableMessageGroupingByUser,
5658
enforceUniqueReaction,
@@ -86,6 +88,7 @@ export const useCreateChannelContext = ({
8688
[
8789
channelId,
8890
disabled,
91+
editing,
8992
error,
9093
isChannelActive,
9194
highlightedMessageId,

0 commit comments

Comments
 (0)