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 a2713e43e4..618ab90559 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 @@ -37,7 +37,7 @@ exports[`components/StatusDropdown should match snapshot in default state 1`] = id="statusDropdownMenu" listId="status-drop-down-menu-list" > -
-
+ -
-
+ -
-
+ -
-
+ -
-
+ - - + -
-
+ -
-
+ -
-
+ void; } @@ -14,17 +13,15 @@ type Props = { /** * @deprecated Use the "webapp/channels/src/components/menu" instead. */ -export default class MenuHeader extends React.PureComponent { - public render() { - const {children, onClick} = this.props; +const MenuHeader = ({children, onClick}: Props) => { + return ( +
  • + {children} +
  • + ); +}; - return ( -
  • - {children} -
  • - ); - } -} +export default React.memo(MenuHeader);