mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
Harmonize require and remove unused ones.
This commit is contained in:
parent
b3bf4ad65d
commit
efefe0dae7
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue