You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The code at /lib/utils/config.js:136 is checking the property var embedType = config.embedType;
With typescript in the Config interface the property is named 'type', so this check always returns undefined, leading to a "Wrong embed type" exception.
To Reproduce
Steps to reproduce the behavior:
Create a brand new react project using typescript template
Create a functional component and call the useReport() hook to have the report and the setter
Create a configuration object, of type Config
Call the setter passing the Config object
Run the app
Expected behavior
No exception for valid embed types.
The text was updated successfully, but these errors were encountered:
Describe the bug
The code at /lib/utils/config.js:136 is checking the property
var embedType = config.embedType;
With typescript in the Config interface the property is named 'type', so this check always returns undefined, leading to a "Wrong embed type" exception.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No exception for valid embed types.
The text was updated successfully, but these errors were encountered: