fix: reduce quick reaction emoji count from 5 to 3 (toolbar too wide)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -153,7 +153,7 @@ type MessageQuickReactionsProps = {
|
|||||||
export const MessageQuickReactions = as<'div', MessageQuickReactionsProps>(
|
export const MessageQuickReactions = as<'div', MessageQuickReactionsProps>(
|
||||||
({ onReaction, ...props }, ref) => {
|
({ onReaction, ...props }, ref) => {
|
||||||
const mx = useMatrixClient();
|
const mx = useMatrixClient();
|
||||||
const recentEmojis = useRecentEmoji(mx, 5);
|
const recentEmojis = useRecentEmoji(mx, 3);
|
||||||
|
|
||||||
if (recentEmojis.length === 0) return <span />;
|
if (recentEmojis.length === 0) return <span />;
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user