diff --git a/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.stories.tsx b/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.stories.tsx index d497ee626..3eec7f3ba 100644 --- a/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.stories.tsx +++ b/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.stories.tsx @@ -11,19 +11,4 @@ storiesOf('screens/Contribute/Submitted', module) {getStory()} )) - .add('normal', () => ( - - )); + .add('normal', () => ); diff --git a/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.tsx b/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.tsx index 2938e7866..c4c02ea3a 100644 --- a/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.tsx +++ b/src/app/content/App/Contribute/SubmittedScreen/SubmittedScreen.tsx @@ -1,24 +1,22 @@ import React from 'react'; -import { Button, CenterContainer, ExternalLink } from 'components/atoms'; +import { Button, CenterContainer } from 'components/atoms'; import Container from './Container'; import Content from './Content'; import ContentTitle from './ContentTitle'; import Illustration from './Illustration'; -import { Contribution } from 'app/lmem/notice'; export interface ContributionSubmittedScreenProps { - contribution: Contribution; goBack: () => void; } -export default ({ contribution, goBack }: ContributionSubmittedScreenProps) => ( +export default ({ goBack }: ContributionSubmittedScreenProps) => ( Félicitations ! - Votre bulle sera publiée d’ici 24h sur : - {contribution.url} + Votre bulle sera publiée d’ici 24h, une confirmation vous sera envoyée par + email. diff --git a/src/app/content/App/Contribute/SubmittedScreen/withConnect.ts b/src/app/content/App/Contribute/SubmittedScreen/withConnect.ts index 2cb7b77af..dc018b50b 100644 --- a/src/app/content/App/Contribute/SubmittedScreen/withConnect.ts +++ b/src/app/content/App/Contribute/SubmittedScreen/withConnect.ts @@ -1,9 +1,6 @@ import { connect } from 'react-redux'; import { replace } from 'connected-react-router'; - import { close } from 'app/actions/ui'; -import { ContentState } from 'app/content/store'; -import { getContribution } from 'app/content/selectors'; const mapDispatchToProps = { close, @@ -11,8 +8,6 @@ const mapDispatchToProps = { }; export default connect( - (state: ContentState) => ({ - contribution: getContribution(state) - }), + null, mapDispatchToProps );