twilio / flex-webchat-ui-sample

Twilio Flex Web Chat UI Sample
31 stars 28 forks source link

Sample config not attached to window object #3

Closed rbeatie closed 5 years ago

rbeatie commented 5 years ago

in src/index.js the appConfig is attached to the window object.

ReactDOM.render(
  <App configuration={window.appConfig} />, //note window.appConfig
  document.getElementById("root")
);

in public/assets/webchat-appConfig.sample.js[link] however there is no config being attached to window here.

rbeatie commented 5 years ago

There seem to be some other issues with using webchat-appConfig.sample.js too, I can build a more robust default config template for this if that's ok?

rbeatie commented 5 years ago

Closing this because of it being the wrong channel to make an issue.