diff --git a/src/id-verification/panels/SubmittedPanel.jsx b/src/id-verification/panels/SubmittedPanel.jsx index 1ca4969..465b1a1 100644 --- a/src/id-verification/panels/SubmittedPanel.jsx +++ b/src/id-verification/panels/SubmittedPanel.jsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useEffect } from 'react'; import { getConfig } from '@edx/frontend-platform'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; @@ -6,6 +6,16 @@ import BasePanel from './BasePanel'; import messages from '../IdVerification.messages'; +function Survey() { + useEffect(() => { + const widget = document.createElement('script'); + widget.src = 'https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd_2BNHLyIwmuFE7cezwkskiizA4JjaHjQx10Eruz64ZqW8.js'; + document.body.appendChild(widget); + }, []); + + return
; +} + function SubmittedPanel(props) { const panelSlug = 'submitted'; return ( @@ -16,9 +26,10 @@ function SubmittedPanel(props) {

{props.intl.formatMessage(messages['id.verification.submitted.text'])}

- + {props.intl.formatMessage(messages['id.verification.return'])} + ); }