chore: remove incorrect information in unenroll popup
This commit is contained in:
committed by
leangseu-edx
parent
5e716ece2d
commit
6bc60bad33
@@ -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)}
|
||||
|
||||
@@ -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]}
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user