From cf922fc41f48ad131119486d8e2d4be153c3164d Mon Sep 17 00:00:00 2001 From: Caleb Cox Date: Tue, 30 Apr 2024 15:47:07 -0500 Subject: [PATCH] Fix MUI menu component error Error message: "MUI: The Menu component doesn't accept a Fragment as a child." --- .../Layouts/Primary/TopBar/Items/ProfileMenu/ProfileMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Layouts/Primary/TopBar/Items/ProfileMenu/ProfileMenu.tsx b/src/components/Layouts/Primary/TopBar/Items/ProfileMenu/ProfileMenu.tsx index 63f142efe..dfc5351a9 100644 --- a/src/components/Layouts/Primary/TopBar/Items/ProfileMenu/ProfileMenu.tsx +++ b/src/components/Layouts/Primary/TopBar/Items/ProfileMenu/ProfileMenu.tsx @@ -256,7 +256,7 @@ const ProfileMenu = (): ReactElement => { {accountListId && ( - <> +
{ )} - +
)} {session.impersonating && (