diff --git a/packages/nextjs/app/_components/ApplyEligibilityLink.tsx b/packages/nextjs/app/_components/ApplyEligibilityLink.tsx index fee07ff..d8b4809 100644 --- a/packages/nextjs/app/_components/ApplyEligibilityLink.tsx +++ b/packages/nextjs/app/_components/ApplyEligibilityLink.tsx @@ -9,15 +9,16 @@ export const ApplyEligibilityLink = () => { const { isConnected, address: connectedAddress } = useAccount(); const { isBuilderPresent, isLoading: isFetchingBuilderData } = useBGBuilderData(connectedAddress); - const applyButtonColor = !isConnected - ? "btn-primary disabled" - : !isBuilderPresent - ? "btn-warning disabled" - : "btn-success"; + const applyButtonColor = + !isConnected || isFetchingBuilderData + ? "btn-primary disabled" + : !isBuilderPresent + ? "btn-warning disabled" + : "btn-success"; const notConnectedMessage = (
+
🔎 Connect your wallet to verify whether you qualify to apply or not.