One line for prefix container

pull/21833/head
J. Ryan Stinnett 2019-03-06 10:58:54 +00:00
parent df9888614b
commit 35ee9c9ac7
1 changed files with 1 additions and 3 deletions

View File

@ -62,9 +62,7 @@ export default class Field extends React.PureComponent {
let prefixContainer = null;
if (prefix) {
prefixContainer = <span className="mx_Field_prefix">
{prefix}
</span>;
prefixContainer = <span className="mx_Field_prefix">{prefix}</span>;
}
const classes = classNames("mx_Field", `mx_Field_${inputElement}`, {