diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-16 21:00:06 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-16 21:19:20 +0200 |
commit | 50cd70b3e9e72e73cc7e55305dcf7810fa5393c8 (patch) | |
tree | 0ac95fafa016d79fa58adb9addba1b3b5d2d0574 /app/javascript/flavours/glitch/features | |
parent | 7595ae4090b43977a3d16cfe98a4825697c992e0 (diff) |
Fix incorrect prop type for ComposerReply.status
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/reply/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
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, }; |