1
0
Fork 1
forked from fedi/mastodon

fix(actions_modal): Warning about missing prop (#4406)

This commit is contained in:
Sorin Davidoi 2017-07-27 23:01:50 +02:00 committed by Eugen Rochko
parent 50d38d7605
commit f9075577e4

View file

@ -7,12 +7,11 @@ import RelativeTimestamp from '../../../components/relative_timestamp';
import DisplayName from '../../../components/display_name'; import DisplayName from '../../../components/display_name';
import IconButton from '../../../components/icon_button'; import IconButton from '../../../components/icon_button';
export default class ReportModal extends ImmutablePureComponent { export default class ActionsModal extends ImmutablePureComponent {
static propTypes = { static propTypes = {
actions: PropTypes.array, actions: PropTypes.array,
onClick: PropTypes.func, onClick: PropTypes.func,
intl: PropTypes.object.isRequired,
}; };
renderAction = (action, i) => { renderAction = (action, i) => {