-
Notifications
You must be signed in to change notification settings - Fork 77
fix: JS exception: Cannot read property 'dispatch' of undefined #287
Conversation
There were the following issues with this Pull Request
You may need to change the commit messages to comply with the repository contributing guidelines. 🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding! |
97efe38
to
dc187fc
Compare
Deploy preview for superset-ui-plugins ready! Built with commit 97efe38 |
dc187fc
to
8617cda
Compare
Deploy preview for superset-ui-plugins ready! Built with commit dc187fc |
Deploy preview for superset-ui-plugins ready! Built with commit a11d757 |
8617cda
to
a11d757
Compare
Codecov Report
@@ Coverage Diff @@
## master #287 +/- ##
======================================
Coverage 36.9% 36.9%
======================================
Files 12 12
Lines 233 233
Branches 24 24
======================================
Hits 86 86
Misses 135 135
Partials 12 12 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
…set#287) Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.1.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Signed-off-by: dependabot-preview[bot] <[email protected]>
🐛 Bug Fix
Sometimes chart took longer time to render, and annotation layer is rendered before chart is ready. In this case, when the annotation layer tried to attach event handler for brush events, it will cause JS exception because chart.focus object is not created:
This error will make chart section blank, and cannot apply annotation at all.