소스 검색

update props

Shun Miyazawa 5 년 전
부모
커밋
45cade189f
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxyIntegrationCard.jsx

+ 3 - 3
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxyIntegrationCard.jsx

@@ -56,9 +56,9 @@ const CustomBotWithoutProxyIntegrationCard = (props) => {
 };
 
 CustomBotWithoutProxyIntegrationCard.propTypes = {
-  siteName: PropTypes.string,
-  slackWSNameInWithoutProxy: PropTypes.string,
-  isSetupSlackBot: PropTypes.bool,
+  siteName: PropTypes.string.isRequired,
+  slackWSNameInWithoutProxy: PropTypes,
+  isSetupSlackBot: PropTypes.bool.isRequired,
 };
 
 export default CustomBotWithoutProxyIntegrationCard;