We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b169088 commit a210f23Copy full SHA for a210f23
src/containers/UnenrollConfirmModal/constants.js
@@ -1,5 +1,6 @@
1
/* eslint-disable quotes */
2
import { StrictDict } from 'utils';
3
+import { defineMessages } from '@edx/frontend-platform/i18n';
4
5
export const reasonKeys = StrictDict({
6
prereqs: 'prereqs',
@@ -26,7 +27,7 @@ export const order = [
26
27
reasonKeys.easy,
28
];
29
-const messages = StrictDict({
30
+const messages = defineMessages({
31
[reasonKeys.prereqs]: {
32
id: 'learner-dash.unenrollConfirm.reasons.prereqs',
33
description: 'Unenroll reason option - missing prerequisites',
0 commit comments