mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
prettier
This commit is contained in:
@@ -39,7 +39,9 @@ class BranchSelector extends React.Component<Props, State> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const selectedBranch = this.props.branches.find(branch => branch.name === this.props.selectedBranch);
|
const selectedBranch = this.props.branches.find(
|
||||||
|
branch => branch.name === this.props.selectedBranch
|
||||||
|
);
|
||||||
this.setState({ selectedBranch });
|
this.setState({ selectedBranch });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user