@@ -1100,44 +1100,46 @@ class IndexPage extends Component {
11001100 if ( Urls . isSharedUrl ( ) ) {
11011101 return (
11021102 < ThemeProvider theme = { theme } >
1103- < AppBar position = 'absolute' className = { classes . appBar } >
1104- < Toolbar className = { classes . topToolbar } >
1105- { appBarLogo }
1106- { auth && auth . token && < Typography
1107- color = 'inherit'
1108- noWrap
1109- className = { classes . userName }
1110- >
1111- { userName }
1112- </ Typography > }
1113- { auth && auth . token ? ( < NavLink
1114- to = { ROUTES . PROFILE . path }
1115- className = { classes . navIconArea }
1116- >
1117- < IconButton
1103+ < div className = { classes . root } >
1104+ < AppBar position = 'absolute' className = { classes . appBar } >
1105+ < Toolbar className = { classes . topToolbar } >
1106+ { appBarLogo }
1107+ { auth && auth . token && < Typography
11181108 color = 'inherit'
1119- aria-label = 'Profile'
1120- className = { classes . navIconProfile }
1109+ noWrap
1110+ className = { classes . userName }
11211111 >
1122- { icons . userIcon }
1123- </ IconButton >
1124- </ NavLink > ) : null }
1125- { auth && auth . token && appBarSignOut }
1126- </ Toolbar >
1127- </ AppBar >
1128- < ContentLayout >
1129- < Switch >
1130- < Route
1131- path = '/shared/:url_uuid'
1132- render = { ( props ) => (
1133- < SharedUrl
1134- { ...props }
1135- />
1136- ) }
1137- />
1138- < Redirect from = '*' to = { ROUTES . ROOT . path } />
1139- </ Switch >
1140- </ ContentLayout >
1112+ { userName }
1113+ </ Typography > }
1114+ { auth && auth . token ? ( < NavLink
1115+ to = { ROUTES . PROFILE . path }
1116+ className = { classes . navIconArea }
1117+ >
1118+ < IconButton
1119+ color = 'inherit'
1120+ aria-label = 'Profile'
1121+ className = { classes . navIconProfile }
1122+ >
1123+ { icons . userIcon }
1124+ </ IconButton >
1125+ </ NavLink > ) : null }
1126+ { auth && auth . token && appBarSignOut }
1127+ </ Toolbar >
1128+ </ AppBar >
1129+ < ContentLayout >
1130+ < Switch >
1131+ < Route
1132+ path = '/shared/:url_uuid'
1133+ render = { ( props ) => (
1134+ < SharedUrl
1135+ { ...props }
1136+ />
1137+ ) }
1138+ />
1139+ < Redirect from = '*' to = { ROUTES . ROOT . path } />
1140+ </ Switch >
1141+ </ ContentLayout >
1142+ </ div >
11411143 </ ThemeProvider >
11421144 ) ;
11431145 }
0 commit comments