Conform more code to strictNullChecks (#10444
* Conform more code to `strictNullChecks` * Fix tests * Fix tests
This commit is contained in:
committed by
GitHub
parent
ba2608ec74
commit
c225b8ec29
@@ -141,7 +141,7 @@ export default class ServerPickerDialog extends React.PureComponent<IProps, ISta
|
||||
return !error;
|
||||
},
|
||||
invalid: function ({ error }) {
|
||||
return error;
|
||||
return error ?? null;
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user