diff --git a/webapp/channels/src/components/post_view/post_reaction/__snapshots__/post_reaction.test.tsx.snap b/webapp/channels/src/components/post_view/post_reaction/__snapshots__/post_reaction.test.tsx.snap index ed8b3fc19f..2d8894ebe9 100644 --- a/webapp/channels/src/components/post_view/post_reaction/__snapshots__/post_reaction.test.tsx.snap +++ b/webapp/channels/src/components/post_view/post_reaction/__snapshots__/post_reaction.test.tsx.snap @@ -47,7 +47,7 @@ exports[`components/post_view/PostReaction should match snapshot 1`] = ` id="CENTER_reaction_post_id_1" onClick={[MockFunction]} > - diff --git a/webapp/channels/src/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap b/webapp/channels/src/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap index 6917b40d72..a2713e43e4 100644 --- a/webapp/channels/src/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap +++ b/webapp/channels/src/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap @@ -631,7 +631,7 @@ exports[`components/StatusDropdown should match snapshot with custom status enab - @@ -898,7 +898,7 @@ exports[`components/StatusDropdown should match snapshot with custom status expi - @@ -1165,7 +1165,7 @@ exports[`components/StatusDropdown should match snapshot with custom status puls - @@ -1909,7 +1909,7 @@ exports[`components/StatusDropdown should not show clear status button when cust - diff --git a/webapp/channels/src/components/widgets/icons/emoji_icon.tsx b/webapp/channels/src/components/widgets/icons/emoji_icon.tsx index 40cd58c62b..ef4d64da47 100644 --- a/webapp/channels/src/components/widgets/icons/emoji_icon.tsx +++ b/webapp/channels/src/components/widgets/icons/emoji_icon.tsx @@ -1,22 +1,24 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -import React from 'react'; +import React, {memo} from 'react'; -export default class EmojiIcon extends React.PureComponent> { - render() { - return ( - - - - - - ); - } -} +type Props = React.HTMLAttributes; + +const EmojiIcon = (props: Props) => { + return ( + + + + + + ); +}; + +export default memo(EmojiIcon);