From 385b8391796d435ff65a6b0345f313a76e2753c1 Mon Sep 17 00:00:00 2001 From: Balaji K Date: Thu, 26 Oct 2023 12:25:23 +0530 Subject: [PATCH] [MM-55120] Replace usage of LocalizedIcon in 'fa_search_icon.tsx' with i/span tags (#25132) --- .../src/components/widgets/icons/fa_search_icon.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/webapp/channels/src/components/widgets/icons/fa_search_icon.tsx b/webapp/channels/src/components/widgets/icons/fa_search_icon.tsx index d717e80481..b4f32e3c3a 100644 --- a/webapp/channels/src/components/widgets/icons/fa_search_icon.tsx +++ b/webapp/channels/src/components/widgets/icons/fa_search_icon.tsx @@ -2,16 +2,15 @@ // See LICENSE.txt for license information. import React from 'react'; - -import LocalizedIcon from 'components/localized_icon'; - -import {t} from 'utils/i18n'; +import {useIntl} from 'react-intl'; export default function SearchIcon() { + const {formatMessage} = useIntl(); + return ( - ); }