Skip to content

Commit e8d060d

Browse files
committed
Delete unused variables
1 parent 1adf38e commit e8d060d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/toasts/IncomingCallToast.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ interface JoinCallButtonWithCallProps {
8181
isRinging: boolean;
8282
}
8383

84-
function JoinCallButtonWithCall({ onClick, disabledTooltip, isRinging }: JoinCallButtonWithCallProps): JSX.Element {
84+
function JoinCallButtonWithCall({ onClick, disabledTooltip }: JoinCallButtonWithCallProps): JSX.Element {
8585
const button = (
8686
<Button
8787
className="mx_IncomingCallToast_actionButton"
@@ -216,7 +216,7 @@ export function IncomingCallToast({ notificationEvent, toastKey }: Props): JSX.E
216216

217217
// Dismiss if another device from this user joins.
218218
const onParticipantChange = useCallback(
219-
(participants: Map<RoomMember, Set<string>>, prevParticipants: Map<RoomMember, Set<string>>) => {
219+
(participants: Map<RoomMember, Set<string>>) => {
220220
if (Array.from(participants.keys()).some((p) => p.userId == room?.client.getUserId())) {
221221
dismissToast();
222222
}

0 commit comments

Comments
 (0)