File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ import { CompositeDisposable, Disposable } from 'atom'
6
6
import { client } from '../connection'
7
7
import { show } from '../ui/selector'
8
8
9
- const { allProjects, updateProject, activateProject } =
10
- client . import ( { rpc : [ 'allProjects' , 'updateProject' ] , msg : [ 'activateProject' ] } )
9
+ const { allProjects, activateProject } = client . import ( { rpc : [ 'allProjects' ] , msg : [ 'activateProject' ] } )
11
10
12
11
let ink
13
12
export function consumeInk ( _ink ) {
@@ -37,7 +36,6 @@ export function consumeStatusBar (statusBar) {
37
36
projectPath = proj . path
38
37
showTile ( )
39
38
}
40
-
41
39
client . handle ( { updateProject : updateTile } )
42
40
43
41
const onClick = ( event ) => {
@@ -88,11 +86,6 @@ export function consumeStatusBar (statusBar) {
88
86
89
87
dom . addEventListener ( 'click' , onClick )
90
88
subs . add (
91
- client . onAttached ( ( ) => {
92
- updateProject ( )
93
- . then ( updateTile )
94
- . catch ( err => console . log ( err ) )
95
- } ) ,
96
89
client . onDetached ( hideTile ) ,
97
90
atom . tooltips . add ( dom , { title } ) ,
98
91
tilesub
You can’t perform that action at this time.
0 commit comments