Cleaner code

This commit is contained in:
Philipp Czora
2018-11-16 14:21:55 +01:00
parent bba4dc34b3
commit 37b24177c2

View File

@@ -111,7 +111,7 @@ class Sources extends React.Component<Props> {
renderBranchSelector = () => {
const { branches, revision } = this.props;
if (this.props.branches) {
if (branches) {
return (
<BranchSelector
branches={branches}