mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-02 17:00:28 +08:00
simplify destructuring
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
This commit is contained in:
@@ -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