fix: bug with account view

This commit is contained in:
James
2022-09-10 13:50:34 -07:00
parent 78ccd2ad9b
commit ada1871993

View File

@@ -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;