logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f9075577e4929ec796339331408d857015411ebd
parent: 50d38d7605b8998463b1428b8da886f33e0714da
Author: Sorin Davidoi <sorin.davidoi@gmail.com>
Date:   Thu, 27 Jul 2017 23:01:50 +0200

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


Diffstat:

Mapp/javascript/mastodon/features/ui/components/actions_modal.js3+--
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 @@ -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) => {