Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Add regenerator-runtime to main.tsx #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChidiNweze
Copy link

Fixes DX-1623

Brief description. What is this change?

I needed to add regenerator-runtime to the top of this file to get the chat widget to appear (for the live agent example). Previously, it just showed a blank page with the error 'ReferenceError: regeneratorRuntime is not defined' appearing in the dev tools of my browser (Google Chrome).

Not sure if it's just a me issue, but it unblocked me.

Implementation details. How do you make this change?

Sheer will & ChatGPT

Checklist

  • Breaking changes have been communicated, including:
    • New required environment variables
    • Renaming of interfaces (API routes, request/response interface, etc)
  • New environment variables have been deployed
  • Appropriate tests have been written
    • Bug fixes are accompanied by an updated or new test
    • New features are accompanied by a new test

Copy link

vercel bot commented Oct 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 0:14am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant