ryohek 5 лет назад
Родитель
Сommit
b7aee2b6ff

+ 3 - 2
src/client/js/components/Page/CopyDropdown.jsx

@@ -90,9 +90,10 @@ class CopyDropdown extends React.Component {
   );
 
   render() {
-    const { t, pageId } = this.props;
+    const {
+      t, pageId, shareLink, isShareLinkMode,
+    } = this.props;
     const { isParamsAppended } = this.state;
-    const { shareLink, isShareLinkMode } = this.props;
 
     const pagePathWithParams = this.generatePagePathWithParams();
     const pagePathUrl = this.generatePagePathUrl();

+ 2 - 0
src/client/js/components/ShareLinkList.jsx

@@ -2,7 +2,9 @@ import React from 'react';
 import * as toastr from 'toastr';
 
 import { withTranslation } from 'react-i18next';
+
 import { createSubscribedElement } from './UnstatedUtils';
+
 import AppContainer from '../services/AppContainer';
 import CopyDropdown from './Page/CopyDropdown';