about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-16 21:00:06 +0200
committerThibG <thib@sitedethib.com>2018-08-16 21:19:20 +0200
commit50cd70b3e9e72e73cc7e55305dcf7810fa5393c8 (patch)
tree0ac95fafa016d79fa58adb9addba1b3b5d2d0574 /app
parent7595ae4090b43977a3d16cfe98a4825697c992e0 (diff)
Fix incorrect prop type for ComposerReply.status
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/composer/reply/index.js3
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,
 };