removed unnecessary expression

This commit is contained in:
Sebastian Sdorra
2020-01-15 13:31:27 +01:00
parent 47c43ebfdb
commit a2499698b3

View File

@@ -40,7 +40,7 @@ const BranchSelector: FC<Props> = ({ branches, onSelectBranch, selectedBranch, l
options={branches.map(b => b.name)}
optionSelected={branch => onSelectBranch(branches.filter(b => b.name === branch)[0])}
disabled={!!disabled}
preselectedOption={selectedBranch && selectedBranch}
preselectedOption={selectedBranch}
/>
</MinWidthControl>
</NoBottomMarginField>