File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -53,4 +53,8 @@ window.AppBoot = () => {
53
53
} else {
54
54
user . once ( 'change' , ( ) => boot ( user ) ) ;
55
55
}
56
+ // @todo Can we get a wp-defined user...?
57
+ if ( 'jetpack' === PROJECT_NAME ) {
58
+ boot ( user ) ;
59
+ }
56
60
} ;
Original file line number Diff line number Diff line change 4
4
import React from 'react' ;
5
5
import classNames from 'classnames' ;
6
6
import { connect } from 'react-redux' ;
7
+ import config from 'config' ;
7
8
8
9
/**
9
10
* Internal dependencies
@@ -27,7 +28,10 @@ const LayoutLoggedOut = ( {
27
28
28
29
return (
29
30
< div className = { classes } >
30
- < MasterbarLoggedOut title = { section . title } sectionName = { section . name } redirectUri = { redirectUri } />
31
+ { ( 'jetpack' === config ( 'project' ) )
32
+ ? null
33
+ : < MasterbarLoggedOut title = { section . title } sectionName = { section . name } redirectUri = { redirectUri } />
34
+ }
31
35
< div id = "content" className = "layout__content" >
32
36
< div id = "primary" className = "layout__primary" >
33
37
{ primary }
You can’t perform that action at this time.
0 commit comments