From 99d4e52d52638c8f1953648dd970c36d47588602 Mon Sep 17 00:00:00 2001 From: Josh Slaughter <8338893+jdslaugh@users.noreply.github.com> Date: Tue, 19 Sep 2023 09:34:46 -0700 Subject: [PATCH] frontend: Fixing Default for UserInfo component (#2795) --- frontend/packages/core/src/AppLayout/user.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/packages/core/src/AppLayout/user.tsx b/frontend/packages/core/src/AppLayout/user.tsx index fd7b868332..fd5f3cbe4f 100644 --- a/frontend/packages/core/src/AppLayout/user.tsx +++ b/frontend/packages/core/src/AppLayout/user.tsx @@ -166,7 +166,7 @@ export interface UserInformationProps { const UserInformation: React.FC = ({ data, user = userId(), - children = null, + children = [], }) => { const userInitials = user.slice(0, 2).toUpperCase(); const [open, setOpen] = React.useState(false);