yusuketk 5 years ago
parent
commit
083a0c4c19

+ 1 - 0
src/client/js/components/CreateTemplateModal.jsx

@@ -62,6 +62,7 @@ const CreateTemplateModal = (props) => {
         </div>
       </ModalBody>
     </Modal>
+
   );
 };
 

+ 1 - 3
src/client/js/components/ShareLinkForm.jsx

@@ -245,9 +245,6 @@ class ShareLinkForm extends React.Component {
 
 }
 
-/**
- * Wrapper component for using unstated
- */
 const ShareLinkFormWrapper = withUnstatedContainers(ShareLinkForm, [AppContainer, PageContainer]);
 
 ShareLinkForm.propTypes = {
@@ -256,5 +253,6 @@ ShareLinkForm.propTypes = {
   pageContainer: PropTypes.instanceOf(PageContainer).isRequired,
 
   onCloseForm: PropTypes.func,
+};
 
 export default withTranslation()(ShareLinkFormWrapper);

+ 1 - 3
src/client/js/components/ShareLinkList.jsx

@@ -56,9 +56,6 @@ const ShareLinkList = (props) => {
   );
 };
 
-/**
- * Wrapper component for using unstated
- */
 const ShareLinkListWrapper = withUnstatedContainers(ShareLinkList, [AppContainer]);
 
 ShareLinkList.propTypes = {
@@ -67,5 +64,6 @@ ShareLinkList.propTypes = {
 
   shareLinks: PropTypes.array.isRequired,
   onClickDeleteButton: PropTypes.func,
+};
 
 export default withTranslation()(ShareLinkListWrapper);