Remove some Flow annotations

This commit is contained in:
Bettenbuk Zoltan
2019-03-25 13:53:08 +01:00
committed by Zoltan Bettenbuk
parent 19e8e8710a
commit 2a5adfc601
165 changed files with 211 additions and 252 deletions
@@ -1,7 +1,8 @@
// @flow
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { connect } from '../../redux';
import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants';
@@ -51,7 +52,6 @@ export function makeAspectRatioAware(
}
}
// $FlowFixMe
return connect(_mapStateToProps)(AspectRatioAware);
}
@@ -1,9 +1,10 @@
// @flow
import React, { Component, type Node } from 'react';
import { connect } from 'react-redux';
import { type Dispatch } from 'redux';
import { connect } from '../../redux';
import { setAspectRatio } from '../actions';
import DimensionsDetector from './DimensionsDetector';
@@ -69,5 +70,4 @@ function _mapDispatchToProps(dispatch: Dispatch<any>) {
};
}
// $FlowExpectedError
export default connect(undefined, _mapDispatchToProps)(AspectRatioDetector);
@@ -1,9 +1,10 @@
// @flow
import React, { Component, type Node } from 'react';
import { connect } from 'react-redux';
import { type Dispatch } from 'redux';
import { connect } from '../../redux';
import { setReducedUI } from '../actions';
import DimensionsDetector from './DimensionsDetector';
@@ -70,5 +71,4 @@ function _mapDispatchToProps(dispatch: Dispatch<any>) {
};
}
// $FlowExpectedError
export default connect(undefined, _mapDispatchToProps)(ReducedUIDetector);