Commit 7617f783 authored by Thibaut Girka's avatar Thibaut Girka Committed by ThibG

Fix crash in onboarding modal

Fixes #1027
parent fcbf557b
......@@ -321,8 +321,8 @@ class ComposeForm extends ImmutablePureComponent {
onSuggestionsClearRequested={onClearSuggestions}
onSuggestionSelected={this.onSpoilerSuggestionSelected}
searchTokens={[':']}
id='glitch.composer.spoiler.input'
className='spoiler-input__input'
id='glitch.composer.spoiler.input'
className='spoiler-input__input'
/>
</div>
......
......@@ -6,7 +6,7 @@ import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import ReactSwipeableViews from 'react-swipeable-views';
import classNames from 'classnames';
import Permalink from 'flavours/glitch/components/permalink';
import { ComposeForm } from 'flavours/glitch/features/compose/components/compose_form';
import ComposeForm from 'flavours/glitch/features/compose/components/compose_form';
import DrawerAccount from 'flavours/glitch/features/compose/components/navigation_bar';
import Search from 'flavours/glitch/features/compose/components/search';
import ColumnHeader from './column_header';
......@@ -48,6 +48,8 @@ const PageTwo = ({ intl, myAccount }) => (
<ComposeForm
privacy='public'
text='Awoo! #introductions'
spoilerText=''
suggestions={ [] }
/>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment