Skip to content

Commit 85c186e

Browse files
committed
fix: make it to comment that the disabled variables
1 parent a3f0b5c commit 85c186e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/modules/Channel/components/MessageList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const MessageList: React.FC<MessageListProps> = ({
3838
}) => {
3939
const {
4040
allMessages,
41-
localMessages,
41+
// localMessages,
4242
hasMorePrev,
4343
hasMoreNext,
4444
setInitialTimeStamp,

src/ui/MessageInput/index.jsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import Label, { LabelTypography, LabelColors } from '../Label';
1919
import { useLocalization } from '../../lib/LocalizationContext';
2020
import useSendbirdStateContext from '../../hooks/useSendbirdStateContext';
2121

22-
import { isChannelTypeSupportsMultipleFilesMessage, nodeListToArray, sanitizeString } from './utils';
22+
// import { isChannelTypeSupportsMultipleFilesMessage } from './utils';
23+
import { nodeListToArray, sanitizeString } from './utils';
2324
import {
2425
arrayEqual,
2526
getClassName,
@@ -69,7 +70,7 @@ const MessageInput = React.forwardRef((props, ref) => {
6970
isEdit,
7071
isMentionEnabled,
7172
isVoiceMessageEnabled,
72-
isSelectingMultipleFilesEnabled,
73+
// isSelectingMultipleFilesEnabled,
7374
disabled,
7475
message,
7576
placeholder,
@@ -593,7 +594,7 @@ MessageInput.propTypes = {
593594
isEdit: PropTypes.bool,
594595
isMentionEnabled: PropTypes.bool,
595596
isVoiceMessageEnabled: PropTypes.bool,
596-
isSelectingMultipleFilesEnabled: PropTypes.bool,
597+
// isSelectingMultipleFilesEnabled: PropTypes.bool,
597598
disabled: PropTypes.bool,
598599
value: PropTypes.string,
599600
placeholder: PropTypes.string,
@@ -644,7 +645,7 @@ MessageInput.defaultProps = {
644645
isEdit: false,
645646
isMentionEnabled: false,
646647
isVoiceMessageEnabled: true,
647-
isSelectingMultipleFilesEnabled: false,
648+
// isSelectingMultipleFilesEnabled: false,
648649
onVoiceMessageIconClick: noop,
649650
disabled: false,
650651
placeholder: '',

0 commit comments

Comments
 (0)