From ada1871993bae92bc7a30f48029b437d63eb3871 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 10 Sep 2022 13:50:34 -0700 Subject: [PATCH] fix: bug with account view --- src/admin/components/views/Account/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/components/views/Account/index.tsx b/src/admin/components/views/Account/index.tsx index f7047db8f4..a4c3cd2b91 100644 --- a/src/admin/components/views/Account/index.tsx +++ b/src/admin/components/views/Account/index.tsx @@ -40,7 +40,7 @@ const AccountView: React.FC = () => { }, } = useConfig(); - const collection = collections.find((coll) => coll.slug === user.collection); + const collection = collections.find((coll) => coll.slug === adminUser); const { fields } = collection;