From 2629bc6c9c32b674cd3811833da6dc4cef679bd9 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Tue, 2 Feb 2021 20:56:52 +0200 Subject: [PATCH] closes #266 --- pages/freeagents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/freeagents.tsx b/pages/freeagents.tsx index c4279682d..f69ccd715 100644 --- a/pages/freeagents.tsx +++ b/pages/freeagents.tsx @@ -294,7 +294,7 @@ const FreeAgentCard = ({ )} - {post.user.profile?.weaponPool.length && ( + {post.user.profile && post.user.profile?.weaponPool.length > 0 && ( {post.user.profile.weaponPool.map((wpn) => (