Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const ChatInputFormattingToolbar = ({

audio: (
<AudioMessageRecorder
key="audio"
displayName={
isPopoverOpen && popOverItems.includes('audio') ? 'audio' : null
}
Expand All @@ -125,6 +126,7 @@ const ChatInputFormattingToolbar = ({
),
video: (
<VideoMessageRecorder
key="video"
displayName={
isPopoverOpen && popOverItems.includes('video') ? 'video' : null
}
Expand Down Expand Up @@ -194,7 +196,7 @@ const ChatInputFormattingToolbar = ({
.map((name) => formatter.find((item) => item.name === name))
.map((item) =>
isPopoverOpen && popOverItems.includes('formatter') ? (
<>
<React.Fragment key={item.name}>
<Box
key={item.name}
disabled={isRecordingMessage}
Expand All @@ -211,7 +213,7 @@ const ChatInputFormattingToolbar = ({
/>
<span>{item.name}</span>
</Box>
</>
</React.Fragment>
) : (
<Tooltip
text={item.name}
Expand Down