diff --git a/src/plugins/whoReacted/index.tsx b/src/plugins/whoReacted/index.tsx
index 422dd8590..c2c7dbb9c 100644
--- a/src/plugins/whoReacted/index.tsx
+++ b/src/plugins/whoReacted/index.tsx
@@ -113,7 +113,11 @@ function ReactionUsers({ message, emoji, type }: ReactionProps) {
-
+
10 ? null : (
-
-
-
- );
- },
-
- UsersComponent({ message, emoji, type }: RootObject) {
- const forceUpdate = useForceUpdater();
-
- useLayoutEffect(() => { // bc need to prevent autoscrolling
- if (Scroll?.scrollCounter > 0) {
- Scroll.setAutomaticAnchor(null);
- }
- });
-
- useEffect(() => {
- const cb = (e: any) => {
- if (e?.messageId === message.id)
- forceUpdate();
- };
- FluxDispatcher.subscribe("MESSAGE_REACTION_ADD_USERS", cb);
-
- return () => FluxDispatcher.unsubscribe("MESSAGE_REACTION_ADD_USERS", cb);
- }, [message.id, forceUpdate]);
-
- const reactions = getReactionsWithQueue(message, emoji, type);
- const users = Array.from(reactions, ([id]) => UserStore.getUser(id)).filter(Boolean);
-
- return (
-
- );
- },
-
-=======
->>>>>>> dev
set reactions(value: any) {
reactions = value;
}
});
-<<<<<<< plugin/voicestats
-
-interface ReactionCacheEntry {
- fetched: boolean;
- users: Map;
-}
-
-interface RootObject {
- message: Message;
- readOnly: boolean;
- isLurking: boolean;
- isPendingMember: boolean;
- useChatFontScaling: boolean;
- emoji: CustomEmoji;
- count: number;
- burst_user_ids: any[];
- burst_count: number;
- burst_colors: any[];
- burst_me: boolean;
- me: boolean;
- type: number;
- hideCount: boolean;
- hideEmoji: boolean;
- remainingBurstCurrency: number;
-}
-=======
->>>>>>> dev