Remove some Flow annotations

This commit is contained in:
Bettenbuk Zoltan
2019-03-21 17:38:29 +01:00
committed by Zoltan Bettenbuk
parent 19e8e8710a
commit 2a5adfc601
165 changed files with 211 additions and 252 deletions

View File

@@ -1,10 +1,10 @@
// @flow
import React from 'react';
import { connect } from 'react-redux';
import Transition from 'react-transition-group/Transition';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
import AbstractChat, {
_mapDispatchToProps,

View File

@@ -1,7 +1,8 @@
// @flow
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { connect } from '../../../base/redux';
import { getUnreadCount } from '../../functions';
@@ -57,5 +58,4 @@ function _mapStateToProps(state) {
};
}
// $FlowExpectedError
export default connect(_mapStateToProps)(ChatCounter);

View File

@@ -1,10 +1,11 @@
// @flow
import React, { Component } from 'react';
import { connect } from 'react-redux';
import Emoji from 'react-emoji-render';
import type { Dispatch } from 'redux';
import { connect } from '../../../base/redux';
import { sendMessage } from '../../actions';
import SmileysPanel from './SmileysPanel';
@@ -232,5 +233,4 @@ class ChatInput extends Component<Props, State> {
}
}
// $FlowExpectedError
export default connect()(ChatInput);

View File

@@ -2,10 +2,10 @@
import { FieldTextStateless } from '@atlaskit/field-text';
import React, { Component } from 'react';
import { connect } from 'react-redux';
import type { Dispatch } from 'redux';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
import { updateSettings } from '../../../base/settings';
/**