carbon
carbon copied to clipboard
[Toast] Uncaught ReferenceError: global is not defined
Current behaviour
Currently application is crashed, if we use Toast component:
The console errors appear:
Expected behaviour
The Toast component is working correctly, without crashing the app, with no console errors.
CodeSandbox or Storybook URL
Can't reproduce on CodeSandbox
JIRA Ticket (Sage Only)
No response
Suggested Solution
No response
Carbon Version
104.53.1
What browsers are you seeing the problem on?
Chrome
What Operating System are you seeing the problem on?
Windows
Anything else we should know?
No response
Confidentiality
- [X] I confirm there is no confidential or commercially sensitive information included.
Hi @pbochnak-sage, please could you share a codesandbox with us so we can replicate this issue?
Unfortunately, I can't reproduce it in codesandbox, but I can show you the bug in my application. It's connected with global
and @mkrds suggested that you should remove it from your side.
FE-5042
@pbochnak-sage please could you link us to your project that causes the issue so we can replicate the error. Then we can confirm it is fixed and QA it.