itizawa 5 лет назад
Родитель
Сommit
36e69450fe
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      src/client/js/components/ShareLink/ShareLink.jsx

+ 1 - 4
src/client/js/components/ShareLink/ShareLink.jsx

@@ -86,7 +86,7 @@ class ShareLink extends React.Component {
 
     return (
       <div className="container">
-        <h3 className="grw-modal-head  d-flex  pb-2">
+        <h3 className="grw-modal-head d-flex pb-2">
           { t('share_links.share_link_list') }
           <button className="btn btn-danger ml-auto " type="button" onClick={this.deleteAllLinksButtonHandler}>{t('delete_all')}</button>
         </h3>
@@ -120,9 +120,6 @@ ShareLink.propTypes = {
   t: PropTypes.func.isRequired, //  i18next
   appContainer: PropTypes.instanceOf(AppContainer).isRequired,
   pageContainer: PropTypes.instanceOf(PageContainer).isRequired,
-
-  isOpen: PropTypes.bool.isRequired,
-  onClose: PropTypes.func.isRequired,
 };
 
 export default withTranslation()(ShareLinkWrapper);