From 50cd70b3e9e72e73cc7e55305dcf7810fa5393c8 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 16 Aug 2018 21:00:06 +0200 Subject: [PATCH] Fix incorrect prop type for ComposerReply.status --- .../flavours/glitch/features/composer/reply/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/composer/reply/index.js b/app/javascript/flavours/glitch/features/composer/reply/index.js index ca8c2031b..56e9e96a5 100644 --- a/app/javascript/flavours/glitch/features/composer/reply/index.js +++ b/app/javascript/flavours/glitch/features/composer/reply/index.js @@ -1,6 +1,7 @@ // Package imports. import PropTypes from 'prop-types'; import React from 'react'; +import ImmutablePropTypes from 'react-immutable-proptypes'; import { defineMessages } from 'react-intl'; // Components. @@ -89,7 +90,7 @@ export default class ComposerReply extends React.PureComponent { } ComposerReply.propTypes = { - status: PropTypes.map.isRequired, + status: ImmutablePropTypes.map.isRequired, intl: PropTypes.object.isRequired, onCancel: PropTypes.func, };