-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fixed plots by adding extra check in transformOutput #8343
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
Conversation
transformOutput. Also added the prop key to some outputs to avoid errors in the console.
@@ -353,7 +353,7 @@ export class CellOutput extends React.Component<ICellOutputProps> { | |||
const buffer: JSX.Element[] = []; | |||
const transformedList = outputs.map(this.transformOutput); |
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.
transformOutput [](start = 49, length = 15)
This should instead be this.transformOutput.bind(this), then you wouldn't need to check the this pointer above
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.
Done
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.
🕐
Codecov Report
@@ Coverage Diff @@
## master #8343 +/- ##
=======================================
Coverage 59.23% 59.23%
=======================================
Files 508 508
Lines 23236 23236
Branches 3750 3750
=======================================
Hits 13765 13765
Misses 8577 8577
Partials 894 894 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.
For #8342
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)