mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
2b324c4533
Summary: Update a few more packages to deactivate properly Miscelaneous fixes Initial commit of new settings package WIP WIP - can load and unload and install / uninstall Click to create new boilerplate package, package updating Test Plan: Run tests Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D1582
13 lines
415 B
CoffeeScript
13 lines
415 B
CoffeeScript
React = require "react"
|
|
AccountSidebar = require "./account-sidebar"
|
|
{ComponentRegistry, WorkspaceStore} = require "nylas-exports"
|
|
|
|
module.exports =
|
|
item: null # The DOM item the main React component renders into
|
|
|
|
activate: (@state) ->
|
|
ComponentRegistry.register AccountSidebar,
|
|
location: WorkspaceStore.Location.RootSidebar
|
|
|
|
deactivate: (@state) ->
|
|
ComponentRegistry.unregister(AccountSidebar)
|