message: RequestGeneratorBuild: Add onInitialized hook
diff: @@ -75,6 +75,7 @@ export default class RequestGeneratorBuilder extends preact.Component {
  }
  }
  this.renderLetter();
  + if (typeof props.onInitialized === 'function') props.onInitialized();
  });
  }
  @@ -188,7 +189,7 @@ export default class RequestGeneratorBuilder extends preact.Component {
  });
  };
  - setCompany = (company) => {
  + setCompany = async (company) => {
  if (this.state.request.type !== 'custom') {
  fetchTemplate(company['request-language'], this.state.request.type, company).then((text) => {
  this.setState({ template_text: text });
  