refactor: Replace of injectIntl with useIntl() part 5 #2285

This commit is contained in:
Ahtesham Quraish
2025-07-21 16:16:21 +05:00
committed by Muhammad Faraz Maqsood
parent 082a1c6510
commit 30cfd269e2
11 changed files with 33 additions and 54 deletions

View File

@@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { Alert, Form } from '@openedx/paragon';
import {
FormattedMessage, injectIntl, useIntl,
FormattedMessage, useIntl,
} from '@edx/frontend-platform/i18n';
import { Field } from 'formik';
import classNames from 'classnames';
@@ -198,4 +198,4 @@ UnitTab.propTypes = {
}).isRequired,
};
export default injectIntl(UnitTab);
export default UnitTab;