Преглед изворни кода

fix slackChannels state type

kaori пре 3 година
родитељ
комит
af00c1014a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/components/PageComment/CommentEditor.jsx

+ 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),