mirror of https://github.com/vector-im/riot-web
One line for prefix container
parent
df9888614b
commit
35ee9c9ac7
|
@ -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}`, {
|
||||
|
|
Loading…
Reference in New Issue