mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-01 11:41:14 +08:00
simplify destructuring
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
This commit is contained in:
1 parent
aa39019e1c
commit
c84453900f
1 file changed
+1
-1
@@ -98,7 +98,7 @@ export function MessageTableEntry({ message, enabled, highlight }: MessageTableE
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{Object.entries(emojiState.emojis)
|
||||
.filter(([k, _]) => !k.startsWith("_"))
|
||||
.filter(([k]) => !k.startsWith("_"))
|
||||
.map(([emoji, count]) => (
|
||||
<MessageEmojiButton
|
||||
key={emoji}
|
||||
|
||||
Reference in new issue
Block a user