Skip to content

Commit 5824840

Browse files
committed
remove keyboard input
Signed-off-by: Timo K <[email protected]>
1 parent 1d8d079 commit 5824840

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/toasts/IncomingCallToast.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,7 @@ export function IncomingCallToast({ notificationEvent }: Props): JSX.Element {
249249
onClick={(e) => {
250250
onJoinClick(e);
251251
}}
252-
onKeyDown={(e) => {
253-
if (e.key === "Enter") {
254-
onJoinClick(e);
255-
}
256-
}}
257-
tabIndex={0}
258-
role="button"
252+
type="button"
259253
>
260254
<div className="mx_IncomingCallToast_message">
261255
<VideoCallIcon width="20px" height="20px" style={{ position: "relative", top: "4px" }} />{" "}

0 commit comments

Comments
 (0)