Update js/src/common/models/User.ts

Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
Alexander Skvortsov 2021-12-12 14:56:27 -05:00 committed by Alexander Skvortsov
parent 3bca30121b
commit 528c964d94
No known key found for this signature in database
GPG Key ID: C4E3BBF9C3412B4C

View File

@ -116,7 +116,7 @@ export default class User extends Model {
if (groups) {
groups.forEach((group) => {
items.add(`group${group?.id()}`, GroupBadge.component({ group }));
items.add(`group${group?.id()}`, <GroupBadge group={group} />);
});
}