Просмотр исходного кода

Merge pull request #6435 from weseek/imprv/101880-show-export-collections-modal-contents

Imprv/101880 show export collections modal contents
Yuki Takei 3 лет назад
Родитель
Сommit
fba4ba223a

+ 1 - 1
packages/app/src/components/Admin/ExportArchiveDataPage.jsx

@@ -40,7 +40,7 @@ class ExportArchiveDataPage extends React.Component {
     this.exportingRequestedHandler = this.exportingRequestedHandler.bind(this);
   }
 
-  async UNSAFE_UNSAFE_componentWillMount() {
+  async UNSAFE_componentWillMount() {
     // TODO:: use apiv3.get
     // eslint-disable-next-line no-unused-vars
     const [{ collections }, { status }] = await Promise.all([

+ 1 - 1
packages/app/src/components/Admin/ImportData/GrowiArchive/ImportForm.jsx

@@ -94,7 +94,7 @@ class ImportForm extends React.Component {
     return Object.keys(this.state.collectionNameToFileNameMap);
   }
 
-  UNSAFE_UNSAFE_componentWillMount() {
+  UNSAFE_componentWillMount() {
     this.setupWebsocketEventHandler();
   }
 

+ 1 - 1
packages/app/src/components/Admin/ImportData/GrowiArchiveSection.jsx

@@ -31,7 +31,7 @@ class GrowiArchiveSection extends React.Component {
     this.renderDefferentVersionAlert = this.renderDefferentVersionAlert.bind(this);
   }
 
-  async UNSAFE_UNSAFE_componentWillMount() {
+  async UNSAFE_componentWillMount() {
     // get uploaded file status
     const res = await apiv3Get('/import/status');
 

+ 1 - 1
packages/app/src/components/Admin/ManageExternalAccount.jsx

@@ -19,7 +19,7 @@ class ManageExternalAccount extends React.Component {
     this.handleExternalAccountPage = this.handleExternalAccountPage.bind(this);
   }
 
-  UNSAFE_UNSAFE_componentWillMount() {
+  UNSAFE_componentWillMount() {
     this.handleExternalAccountPage(1);
   }
 

+ 1 - 1
packages/app/src/components/Admin/Security/ShareLinkSetting.jsx

@@ -54,7 +54,7 @@ class ShareLinkSetting extends React.Component {
     this.switchDisableLinkSharing = this.switchDisableLinkSharing.bind(this);
   }
 
-  UNSAFE_UNSAFE_componentWillMount() {
+  UNSAFE_componentWillMount() {
     this.getShareLinkList(1);
   }