public async componentDidMount()

in src/dialog.tsx [59:75]


  public async componentDidMount() {
    SDK.init();

    await SDK.ready();

    const config = SDK.getConfiguration();
    const pr = config.pullRequest;

    this.setState({
      pullRequest: pr,
      ready: true
    });

    SDK.notifyLoadSucceeded().then(() => {
      SDK.resize();
    });
  }