From f9075577e4929ec796339331408d857015411ebd Mon Sep 17 00:00:00 2001 From: Sorin Davidoi Date: Thu, 27 Jul 2017 23:01:50 +0200 Subject: [PATCH] fix(actions_modal): Warning about missing prop (#4406) --- .../mastodon/features/ui/components/actions_modal.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/ui/components/actions_modal.js b/app/javascript/mastodon/features/ui/components/actions_modal.js index 0fc2560ffa9..a7b7357b644 100644 --- a/app/javascript/mastodon/features/ui/components/actions_modal.js +++ b/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) => {