1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-01 16:28:29 +09:00

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 IconButton from '../../../components/icon_button';
export default class ReportModal extends ImmutablePureComponent {
export default class ActionsModal extends ImmutablePureComponent {
static propTypes = {
actions: PropTypes.array,
onClick: PropTypes.func,
intl: PropTypes.object.isRequired,
};
renderAction = (action, i) => {