Skip to content

Commit bbb7e88

Browse files
committed
fix: use generic text message type
1 parent eb561af commit bbb7e88

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

package/src/components/MessageList/MessageFlashList.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -226,15 +226,6 @@ const getItemTypeInternal = (message: LocalMessage) => {
226226
}
227227

228228
if (message.text) {
229-
const text = message.text;
230-
if (text.length <= 50) {
231-
return 'short-message-with-text';
232-
}
233-
234-
if (text.length <= 200) {
235-
return 'medium-message-with-text';
236-
}
237-
238229
return 'message-with-text';
239230
}
240231

0 commit comments

Comments
 (0)