diff --git a/internal_packages/thread-list/lib/draft-list.cjsx b/internal_packages/thread-list/lib/draft-list.cjsx index c2b5b3492..f3750acd1 100644 --- a/internal_packages/thread-list/lib/draft-list.cjsx +++ b/internal_packages/thread-list/lib/draft-list.cjsx @@ -21,15 +21,15 @@ DraftList = React.createClass selectedId: null componentDidMount: -> - @draft_store_unsubscribe = DraftStore.listen @_onChange - @body_unsubscriber = atom.commands.add 'body', + @draftStoreUnsubscribe = DraftStore.listen @_onChange + @bodyUnsubscriber = atom.commands.add 'body', 'application:previous-item': => @_onShiftSelectedIndex(-1) 'application:next-item': => @_onShiftSelectedIndex(1) 'application:remove-item': @_onDeleteSelected componentWillUnmount: -> - @draft_store_unsubscribe() - @body_unsubscriber.dispose() + @draftStoreUnsubscribe() + @bodyUnsubscriber.dispose() render: ->