From f28b2394721b3a3709436115516613201290f733 Mon Sep 17 00:00:00 2001 From: gayatrigt Date: Mon, 20 Jan 2025 22:28:24 +0530 Subject: [PATCH] fix: "join bounty logic" --- src/components/frame/claims/claims.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/frame/claims/claims.tsx b/src/components/frame/claims/claims.tsx index 3a96216..cafa8d3 100644 --- a/src/components/frame/claims/claims.tsx +++ b/src/components/frame/claims/claims.tsx @@ -173,8 +173,8 @@ const Claims: React.FC = ({ bountyId, chainId }) => { const showCreateClaimButton = isConnected && !hasAcceptedClaim; - const isOpen = true; - const isVoting = false; + const isOpen = bounty?.status.is_multiplayer; + const isVoting = bounty?.status.is_voting; console.log('b', bounty);