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: check this.editor exist before this.editor.off in QueryEditor #669

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

whtsky
Copy link
Contributor

@whtsky whtsky commented Apr 11, 2018

this.editor might be undefined if error occured during componentDidMount, like #665

@jimmybrawn
Copy link

Yes PLSS

@whtsky
Copy link
Contributor Author

whtsky commented Apr 11, 2018

this does not fix #665 though, just fixed another error caused by #665

@jimmybrawn
Copy link

I had both error on the "off" function and the #665 which is an error caused by optimization.minimize in webpack 4 i suppose @whtsky

@Neitsch
Copy link
Contributor

Neitsch commented Jul 27, 2019

@whtsky - sorry for not looking at this earlier. If this is still relevant, would you mind rebasing?

`this.editor` might be undefined if error occured during `componentDidMount`, like graphql#665
@whtsky whtsky force-pushed the fix/editor_undefined branch from 82d61fb to 1395cee Compare August 5, 2019 02:31
@whtsky
Copy link
Contributor Author

whtsky commented Aug 5, 2019

@Neitsch rebased.

@Neitsch Neitsch merged commit ca226ee into graphql:master Aug 7, 2019
@whtsky whtsky deleted the fix/editor_undefined branch August 7, 2019 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants