You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-17 17:42:41 +03:00
fix lint
This commit is contained in:
@@ -20,7 +20,8 @@ import AccessibleButton from "./AccessibleButton";
|
|||||||
export default function FormButton(props) {
|
export default function FormButton(props) {
|
||||||
const {className, label, kind, ...restProps} = props;
|
const {className, label, kind, ...restProps} = props;
|
||||||
const newClassName = (className || "") + " mx_FormButton";
|
const newClassName = (className || "") + " mx_FormButton";
|
||||||
const allProps = Object.assign({}, restProps, {className: newClassName, kind: kind || "primary", children: [label]});
|
const allProps = Object.assign({}, restProps,
|
||||||
|
{className: newClassName, kind: kind || "primary", children: [label]});
|
||||||
return React.createElement(AccessibleButton, allProps);
|
return React.createElement(AccessibleButton, allProps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user