Prevent infinite loop

This commit is contained in:
Half-Shot
2024-10-29 15:19:16 +00:00
parent 528e692d6b
commit cd73ad8794
2 changed files with 7 additions and 7 deletions

View File

@@ -53,13 +53,11 @@ const InnerButton: FC<InnerButtonButtonProps> = ({ raised, ...props }) => {
};
interface RaisedHandToggleButton {
key: string;
rtcSession: MatrixRTCSession;
client: MatrixClient;
}
export function RaiseHandToggleButton({
key,
client,
rtcSession,
}: RaisedHandToggleButton): ReactNode {
@@ -135,7 +133,6 @@ export function RaiseHandToggleButton({
return (
<InnerButton
key={key}
disabled={busy}
onClick={toggleRaisedHand}
raised={isHandRaised}