Browse Source

fix slackChannels state type

kaori 3 years ago
parent
commit
af00c1014a
1 changed files with 1 additions and 1 deletions
  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),