Fix search results on compose box

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent 923a7f3f11
commit f485e2ced3

@ -113,10 +113,11 @@ class Drawer extends React.Component {
{!isSearchPage && <DrawerAccount account={account} />} {!isSearchPage && <DrawerAccount account={account} />}
{!isSearchPage && <Composer />} {!isSearchPage && <Composer />}
{multiColumn && <button className='mastodon' onClick={onClickElefriend} />} {multiColumn && <button className='mastodon' onClick={onClickElefriend} />}
<DrawerResults {(multiColumn || isSearchPage) &&
results={results} <DrawerResults
visible={submitted && !searchHidden} results={results}
/> visible={submitted && !searchHidden}
/>}
</div> </div>
</div> </div>
); );

Loading…
Cancel
Save