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

add null-guard for insertTextAtRange when marks is undefined #1958

Conversation

t3chguy
Copy link
Contributor

@t3chguy t3chguy commented Jul 8, 2018

Is this adding or improving a feature or fixing a bug?

fixing a recent bug that slipped in during #1875

What's the new behavior?

No error is thrown.

Have you checked that...?

  • The new code matches the existing patterns and styles.
  • The tests pass with yarn test.
  • The linter passes with yarn lint. (Fix errors with yarn prettier.)
  • The relevant examples still work. (Run examples with yarn watch.)

ara4n added a commit to matrix-org/matrix-react-sdk that referenced this pull request Jul 8, 2018
t3chguy pushed a commit to matrix-org/matrix-react-sdk that referenced this pull request Jul 9, 2018
(cherry picked from commit 445faca)
Signed-off-by: Michael Telatynski <[email protected]>
@ianstormtaylor
Copy link
Owner

Thanks @t3chguy!

@ianstormtaylor ianstormtaylor merged commit ad9831f into ianstormtaylor:master Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants