mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove ? guard from ::oldState and ::newState references
This commit is contained in:
@@ -66,7 +66,7 @@ LinesComponent = React.createClass
|
||||
componentDidUpdate: ->
|
||||
{visible, presenter} = @props
|
||||
|
||||
@removeLineNodes() unless @oldState?.indentGuidesVisible is @newState?.indentGuidesVisible
|
||||
@removeLineNodes() unless @oldState.indentGuidesVisible is @newState.indentGuidesVisible
|
||||
@updateLineNodes()
|
||||
@measureCharactersInNewLines() if visible and not @newState.scrollingVertically
|
||||
|
||||
|
||||
Reference in New Issue
Block a user