fix: remove cast

This commit is contained in:
verbiricha 2023-08-01 14:21:43 +02:00
parent e15a46192a
commit e2399d1bec

View File

@ -88,7 +88,7 @@ export function useBadges(
);
const thumb = findTag(e, "thumb");
const image = findTag(e, "image");
return { name, thumb, image, awardees, accepted } as Badge;
return { name, thumb, image, awardees, accepted };
});
return [];
}, [rawBadges]);