fix bugs found by sonarqube

This commit is contained in:
Sebastian Sdorra
2019-10-11 14:56:11 +02:00
parent 439f1d229d
commit b10d7ddfd7
2 changed files with 2 additions and 2 deletions

View File

@@ -185,7 +185,7 @@ class Sources extends React.Component<Props, State> {
defaultBranch={
branches && branches.filter(b => b.defaultBranch === true)[0]
}
branches={branches && branches}
branches={branches}
repository={repository}
/>
);