chore: remove incorrect information in unenroll popup

This commit is contained in:
Leangseu Kim
2023-04-18 09:52:08 -04:00
committed by leangseu-edx
parent 5e716ece2d
commit 6bc60bad33
3 changed files with 0 additions and 9 deletions

View File

@@ -17,7 +17,6 @@ export const ConfirmPane = ({
return (
<>
<h4>{formatMessage(messages.confirmHeader)}</h4>
<p>{formatMessage(messages.confirmText)}</p>
<ActionRow>
<Button variant="tertiary" onClick={handleClose}>
{formatMessage(messages.confirmCancel)}

View File

@@ -5,9 +5,6 @@ exports[`UnenrollConfirmModal ConfirmPane snapshot 1`] = `
<h4>
Unenroll from course?
</h4>
<p>
Progress that you've made so far will not be saved
</p>
<ActionRow>
<Button
onClick={[MockFunction props.handleClose]}

View File

@@ -7,11 +7,6 @@ export const messages = StrictDict({
description: 'Header for confirm unenroll modal',
defaultMessage: 'Unenroll from course?',
},
confirmText: {
id: 'learner-dash.unenrollConfirm.confirm.text',
description: 'Content for confirm unenroll modal',
defaultMessage: `Progress that you've made so far will not be saved`,
},
confirmCancel: {
id: 'learner-dash.unenrollConfirm.confirm.cancel',
description: 'Cancel action for confirm unenroll modal',