diff --git a/packages/pl-fe/src/components/sidebar-navigation.tsx b/packages/pl-fe/src/components/sidebar-navigation.tsx index 34d3a88a1..4a364fb3a 100644 --- a/packages/pl-fe/src/components/sidebar-navigation.tsx +++ b/packages/pl-fe/src/components/sidebar-navigation.tsx @@ -37,7 +37,7 @@ const messages = defineMessages({ }); /** Desktop sidebar with links to different views in the app. */ -const SidebarNavigation = () => { +const SidebarNavigation = React.memo(() => { const intl = useIntl(); const { unreadChatsCount } = useStatContext(); @@ -321,6 +321,6 @@ const SidebarNavigation = () => { )} ); -}; +}); export { SidebarNavigation as default };