mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-24 00:38:31 +08:00
lint
This commit is contained in:
parent
196f84bb28
commit
8a53623bc3
@ -74,9 +74,7 @@ export function ReactionPopupMenu({
|
|||||||
() => (isFullyExpanded ? ReactionSet : ReactionSet.slice(0, 5)),
|
() => (isFullyExpanded ? ReactionSet : ReactionSet.slice(0, 5)),
|
||||||
[isFullyExpanded],
|
[isFullyExpanded],
|
||||||
);
|
);
|
||||||
const label = isHandRaised
|
const label = isHandRaised ? t("action.lower_hand") : t("action.raise_hand");
|
||||||
? t("action.lower_hand", { keyboardShortcut: "H" })
|
|
||||||
: t("action.raise_hand", { keyboardShortcut: "H" });
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{errorText && (
|
{errorText && (
|
||||||
@ -90,7 +88,7 @@ export function ReactionPopupMenu({
|
|||||||
)}
|
)}
|
||||||
<div className={styles.reactionPopupMenu}>
|
<div className={styles.reactionPopupMenu}>
|
||||||
<section className={styles.handRaiseSection}>
|
<section className={styles.handRaiseSection}>
|
||||||
<Tooltip label={label} caption={"H"}>
|
<Tooltip label={label} caption="H">
|
||||||
<CpdButton
|
<CpdButton
|
||||||
kind={isHandRaised ? "primary" : "secondary"}
|
kind={isHandRaised ? "primary" : "secondary"}
|
||||||
aria-keyshortcuts="H"
|
aria-keyshortcuts="H"
|
||||||
|
Loading…
Reference in New Issue
Block a user