@dubsdotapp/expo 0.2.41 → 0.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4663,7 +4663,7 @@ function ClaimButton({ gameId, style, onSuccess, onError }) {
4663
4663
  [claimStatus.refetch, onSuccess]
4664
4664
  // eslint-disable-line react-hooks/exhaustive-deps
4665
4665
  );
4666
- if (game.loading || claimStatus.loading || !game.data || !walletAddress || !isEligible) {
4666
+ if (game.loading || claimStatus.loading || !game.data || !walletAddress) {
4667
4667
  return null;
4668
4668
  }
4669
4669
  const label = isRefund ? "Refund" : "Prize";
@@ -4681,6 +4681,9 @@ function ClaimButton({ gameId, style, onSuccess, onError }) {
4681
4681
  }
4682
4682
  );
4683
4683
  }
4684
+ if (!isEligible) {
4685
+ return null;
4686
+ }
4684
4687
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
4685
4688
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4686
4689
  import_react_native17.TouchableOpacity,