Fix account header showing on search page

This commit is contained in:
Thibaut Girka 2018-08-31 14:01:41 +02:00 committed by ThibG
parent 4a686ddf8a
commit b4f548fa18

View File

@ -110,7 +110,7 @@ class Drawer extends React.Component {
value={searchValue} value={searchValue}
/> } /> }
<div className='contents'> <div className='contents'>
<DrawerAccount account={account} /> {!isSearchPage && <DrawerAccount account={account} />}
{!isSearchPage && <Composer />} {!isSearchPage && <Composer />}
{multiColumn && <button className='mastodon' onClick={onClickElefriend} />} {multiColumn && <button className='mastodon' onClick={onClickElefriend} />}
<DrawerResults <DrawerResults