Harmonize require and remove unused ones.

This commit is contained in:
François de Metz 2015-12-15 20:03:35 +01:00
parent b3bf4ad65d
commit efefe0dae7
2 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,6 @@
_ = require 'underscore'
React = require 'react'
{RetinaImg} = require 'nylas-component-kit'
{Actions,
React,
TaskFactory,
DOMUtils,
FocusedMailViewStore} = require 'nylas-exports'
@ -32,5 +31,4 @@ class ThreadArchiveButton extends React.Component
Actions.popSheet()
e.stopPropagation()
module.exports = ThreadArchiveButton

View file

@ -1,6 +1,5 @@
React = require 'react'
{Actions, FocusedContentStore, ChangeUnreadTask} = require 'nylas-exports'
{RetinaImg, KeyCommandsRegion} = require 'nylas-component-kit'
{Actions, React, FocusedContentStore, ChangeUnreadTask} = require 'nylas-exports'
{RetinaImg} = require 'nylas-component-kit'
class ThreadToggleUnreadButton extends React.Component
@displayName: "ThreadToggleUnreadButton"