Преглед изворни кода

remove prefix "UNSAFE_" to excecute componentWillMount

kaori пре 3 година
родитељ
комит
cdbb5a0f9b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/components/Admin/ExportArchiveDataPage.jsx

+ 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([