This commit is contained in:
Kalle (Sendou)
2021-02-02 20:56:52 +02:00
parent ae5aa4f3fc
commit 2629bc6c9c

View File

@@ -294,7 +294,7 @@ const FreeAgentCard = ({
</Box>
)}
{post.user.profile?.weaponPool.length && (
{post.user.profile && post.user.profile?.weaponPool.length > 0 && (
<Box my={2}>
{post.user.profile.weaponPool.map((wpn) => (
<WeaponImage key={wpn} name={wpn} size={32} />