Move DrawerSearch to Search + SearchContainer
This commit is contained in:
@ -8,10 +8,12 @@ import classNames from 'classnames';
|
||||
import Permalink from 'flavours/glitch/components/permalink';
|
||||
import { WrappedComponent as RawComposer } from 'flavours/glitch/features/composer';
|
||||
import DrawerAccount from 'flavours/glitch/features/compose/account';
|
||||
import DrawerSearch from 'flavours/glitch/features/compose/search';
|
||||
import Search from 'flavours/glitch/features/compose/components/search';
|
||||
import ColumnHeader from './column_header';
|
||||
import { me } from 'flavours/glitch/util/initial_state';
|
||||
|
||||
const noop = () => { };
|
||||
|
||||
const messages = defineMessages({
|
||||
home_title: { id: 'column.home', defaultMessage: 'Home' },
|
||||
notifications_title: { id: 'column.notifications', defaultMessage: 'Notifications' },
|
||||
@ -63,7 +65,13 @@ PageTwo.propTypes = {
|
||||
const PageThree = ({ intl, myAccount }) => (
|
||||
<div className='onboarding-modal__page onboarding-modal__page-three'>
|
||||
<div className='figure non-interactive'>
|
||||
<DrawerSearch intl={intl} />
|
||||
<Search
|
||||
value=''
|
||||
onChange={noop}
|
||||
onSubmit={noop}
|
||||
onClear={noop}
|
||||
onShow={noop}
|
||||
/>
|
||||
|
||||
<div className='pseudo-drawer'>
|
||||
<DrawerAccount account={myAccount} />
|
||||
|
Reference in New Issue
Block a user