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

master
Sorin Davidoi 7 years ago committed by Eugen Rochko
parent 50d38d7605
commit f9075577e4
  1. 3
      app/javascript/mastodon/features/ui/components/actions_modal.js

@ -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) => {

Loading…
Cancel
Save