熊谷洸介(Kousuke Kumagai) 6 лет назад
Родитель
Сommit
dcc8818e8d
2 измененных файлов с 6 добавлено и 2 удалено
  1. 1 0
      src/client/js/app.js
  2. 5 2
      src/client/js/components/Admin/Importer.jsx

+ 1 - 0
src/client/js/app.js

@@ -196,6 +196,7 @@ if (adminUserGroupPageElem != null) {
 const adminImporterElem = document.getElementById('admin-importer');
 if (adminImporterElem != null) {
   ReactDOM.render(
+    <Importer />,
   );
 }
 

+ 5 - 2
src/client/js/components/Admin/Importer.jsx

@@ -3,13 +3,16 @@ import React, { Fragment } from 'react';
 class Importer extends React.Component {
 
   constructor(props) {
+    super();
+  }
+
   render() {
-    const { t } = this.props;
     return (
       <Fragment>
       </Fragment>
-    )
+    );
   }
+
 }
 
 export default Importer;