From 837d595458ee0891e17f84e14e93ec6bb26fffa2 Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 19 Apr 2019 18:07:29 +0200 Subject: [PATCH] :bug: Annulation de la tentative de suggestion --- source/components/Feedback/FeedbackForm.js | 7 ++----- source/components/Feedback/PageFeedback.js | 7 ++++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/source/components/Feedback/FeedbackForm.js b/source/components/Feedback/FeedbackForm.js index 71062185d..cfdc076b8 100644 --- a/source/components/Feedback/FeedbackForm.js +++ b/source/components/Feedback/FeedbackForm.js @@ -6,7 +6,7 @@ import React, { Component } from 'react' import { Trans } from 'react-i18next' import type { Tracker } from 'Components/utils/withTracker' -type Props = { onEnd: () => void, tracker: Tracker } +type Props = { onEnd: () => void, tracker: Tracker, onCancel: () => void } class FeedbackForm extends Component { formRef: ?HTMLFormElement @@ -23,9 +23,6 @@ class FeedbackForm extends Component { // $FlowFixMe body: new FormData(this.formRef) }) - this.handleClose() - } - handleClose = () => { this.props.onEnd() } @@ -34,7 +31,7 @@ class FeedbackForm extends Component {