ryohi15 5 лет назад
Родитель
Сommit
f51661d706
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/client/js/components/StaffCredit/StaffCredit.jsx

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

@@ -26,6 +26,7 @@ class StaffCredit extends React.Component {
     super(props);
     this.state = {
       isShown: true,
+      gcContributors: {},
     };
     this.deleteCredit = this.deleteCredit.bind(this);
   }
@@ -102,6 +103,7 @@ class StaffCredit extends React.Component {
     }, 10);
 
     this.props.appContainer.apiv3Get('/growi-cloud/staff-credit').then((res) => {
+      this.setState({ gcContributors: res.data });
     });
 
   }