You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-13 06:02:19 +03:00
Revert "Support registration & login with phone number (#742)"
This reverts commit 0269562383.
This breaks against the current synapse release. We need to think more
carefully about backwards compatibility.
This commit is contained in:
@@ -27,8 +27,8 @@ import React from 'react';
|
||||
export default function AccessibleButton(props) {
|
||||
const {element, onClick, children, ...restProps} = props;
|
||||
restProps.onClick = onClick;
|
||||
restProps.onKeyUp = function(e) {
|
||||
if (e.keyCode == 13 || e.keyCode == 32) return onClick(e);
|
||||
restProps.onKeyDown = function(e) {
|
||||
if (e.keyCode == 13 || e.keyCode == 32) return onClick();
|
||||
};
|
||||
restProps.tabIndex = restProps.tabIndex || "0";
|
||||
restProps.role = "button";
|
||||
|
||||
Reference in New Issue
Block a user