constructor()

in src/app/app.js [32:49]


  constructor(props) {
    super(props);
    const {registerWidgetApi} = props;

    this.state = {
      isConfiguring: false,
      selectedProject: null,
      projects: [],
      users: [],
      owner: null,
      hubUrl: null
    };

    registerWidgetApi({
      onConfigure: () => this.setState({isConfiguring: true}),
      getExternalWidgetOptions: () => ({authClientId: '0-0-0-0-0'})
    });
  }