From a3f6e17b2b3aab2a03d5de87e63387963d863a25 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Fri, 15 Nov 2024 16:34:28 +0000 Subject: [PATCH] fix label logic --- src/button/ReactionToggleButton.tsx | 2 +- src/reactions/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/button/ReactionToggleButton.tsx b/src/button/ReactionToggleButton.tsx index 9aef9bba..00384ac6 100644 --- a/src/button/ReactionToggleButton.tsx +++ b/src/button/ReactionToggleButton.tsx @@ -114,7 +114,7 @@ export function ReactionPopupMenu({
  • = ReactionsRowSize ? reaction.name : `${reaction.name} (${index + 1})` } diff --git a/src/reactions/index.ts b/src/reactions/index.ts index b2316bc4..610e24f0 100644 --- a/src/reactions/index.ts +++ b/src/reactions/index.ts @@ -73,7 +73,7 @@ export const GenericReaction: ReactionOption = { }, }; -export const ReactionsRowSize = 6; +export const ReactionsRowSize = 5; // The first {ReactionsRowSize} reactions are always visible. export const ReactionSet: ReactionOption[] = [