diff --git a/webapp/channels/src/components/mfa/setup/setup.tsx b/webapp/channels/src/components/mfa/setup/setup.tsx
index bd61e10e09..a619148614 100644
--- a/webapp/channels/src/components/mfa/setup/setup.tsx
+++ b/webapp/channels/src/components/mfa/setup/setup.tsx
@@ -2,15 +2,13 @@
// See LICENSE.txt for license information.
import React from 'react';
-import {FormattedMessage} from 'react-intl';
+import {FormattedMessage, injectIntl, type IntlShape} from 'react-intl';
import type {UserProfile} from '@mattermost/types/users';
import ExternalLink from 'components/external_link';
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
-import LocalizedInput from 'components/localized_input/localized_input';
-import {t} from 'utils/i18n';
import * as Utils from 'utils/utils';
type MFAControllerState = {
@@ -23,6 +21,7 @@ type Props = {
* Object containing enforceMultifactorAuthentication
*/
state: MFAControllerState;
+ intl: IntlShape;
/*
* Function that updates parent component with state props
@@ -61,7 +60,7 @@ type State = {
serverError?: string;
}
-export default class Setup extends React.PureComponent
-