mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
linting
This commit is contained in:
@@ -84,7 +84,7 @@ export const ReactionsProvider = ({
|
||||
const myReactionId = useMemo(
|
||||
(): string | null =>
|
||||
(myUserId && raisedHands[myUserId]?.reactionEventId) ?? null,
|
||||
[raisedHands, room],
|
||||
[raisedHands, myUserId],
|
||||
);
|
||||
|
||||
// Reduce the data down for the consumers.
|
||||
@@ -160,7 +160,14 @@ export const ReactionsProvider = ({
|
||||
}
|
||||
}
|
||||
}
|
||||
}, [room, memberships, addRaisedHand, removeRaisedHand]);
|
||||
}, [
|
||||
room,
|
||||
memberships,
|
||||
myUserId,
|
||||
raisedHands,
|
||||
addRaisedHand,
|
||||
removeRaisedHand,
|
||||
]);
|
||||
|
||||
// This effect handles any *live* reaction/redactions in the room.
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user