mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
fix eslint and flow warnings
This commit is contained in:
@@ -31,16 +31,11 @@ type Props = {
|
||||
fetchBranches: Repository => void,
|
||||
|
||||
// Context props
|
||||
history: History,
|
||||
history: any, // TODO flow type
|
||||
match: any
|
||||
};
|
||||
|
||||
class BranchRoot extends React.Component<Props> {
|
||||
constructor(props: Props) {
|
||||
super(props);
|
||||
this.state = {};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.props.fetchBranches(this.props.repository);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user