fix Failed prop type warning in LeaveConfirmation
This commit is contained in:
parent
57e1f80d55
commit
165df38dcb
@ -1,14 +1,16 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { withRouter } from 'react-router';
|
||||
import { defineMessages, injectIntl, intlShape } from 'react-intl';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import Button from '/imports/ui/components/button/component';
|
||||
import Modal from '/imports/ui/components/modal/fullscreen/component';
|
||||
import styles from './styles';
|
||||
|
||||
const propTypes = {
|
||||
handleEndMeeting: PropTypes.func.isRequired,
|
||||
intl: PropTypes.shape(intlShape).isRequired,
|
||||
intl: PropTypes.shape({
|
||||
formatMessage: PropTypes.func.isRequired,
|
||||
}).isRequired,
|
||||
router: PropTypes.object.isRequired,
|
||||
showEndMeeting: PropTypes.bool.isRequired,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user