Przeglądaj źródła

fix slackChannels state type

kaori 3 lat temu
rodzic
commit
af00c1014a

+ 1 - 1
packages/app/src/components/PageComment/CommentEditor.jsx

@@ -423,7 +423,7 @@ CommentEditor.propTypes = {
   editorContainer: PropTypes.instanceOf(EditorContainer).isRequired,
   commentContainer: PropTypes.instanceOf(CommentContainer).isRequired,
 
-  slackChannels: PropTypes.array.isRequired,
+  slackChannels: PropTypes.string.isRequired,
   isSlackEnabled: PropTypes.bool.isRequired,
   growiRenderer: PropTypes.instanceOf(GrowiRenderer).isRequired,
   currentUser: PropTypes.instanceOf(Object),