From 7617f78359e3767b0c0311928a786d7007687d17 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Fri, 3 May 2019 18:54:06 +0200 Subject: [PATCH] Fix crash in onboarding modal Fixes #1027 --- .../glitch/features/compose/components/compose_form.js | 4 ++-- .../glitch/features/ui/components/onboarding_modal.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.js b/app/javascript/flavours/glitch/features/compose/components/compose_form.js index bd6d5b1fa02..e8f000b1ec4 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.js +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.js @@ -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' /> diff --git a/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.js b/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.js index f13e2e645f3..3fda97afc6a 100644 --- a/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.js +++ b/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.js @@ -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 }) => (