Double equals

pull/21833/head
Travis Ralston 2019-08-15 13:33:02 -06:00
parent e2f013ddb4
commit 5fe691cf33
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ export default class Field extends React.PureComponent {
prefixContainer = <span className="mx_Field_prefix">{prefix}</span>;
}
const hasValidationFlag = flagInvalid != null && flagInvalid !== undefined;
const hasValidationFlag = flagInvalid !== null && flagInvalid !== undefined;
const fieldClasses = classNames("mx_Field", `mx_Field_${inputElement}`, {
// If we have a prefix element, leave the label always at the top left and
// don't animate it, as it looks a bit clunky and would add complexity to do