mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 20:15:52 +01:00
fix a ton of typescript errors
This commit is contained in:
@@ -15,7 +15,7 @@ class DropDown extends React.Component<Props> {
|
||||
const { options, optionValues, preselectedOption, className, disabled } = this.props;
|
||||
|
||||
if (preselectedOption && !options.includes(preselectedOption)) {
|
||||
options.unshift(preselectedOption)
|
||||
options.unshift(preselectedOption);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user