@opexa/portal-components 0.0.1057 → 0.0.1058

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.
@@ -154,10 +154,10 @@ export function Withdrawal() {
154
154
  if (memberVerification?.status === 'PENDING') {
155
155
  return _jsx(_AccountVerificationPending, {});
156
156
  }
157
- if (!memberVerification ||
158
- (memberVerification.status !== 'APPROVED' &&
159
- memberVerification.status !== 'VERIFIED') ||
160
- (!allowUnverifiedAccounts && restrictWithdrawalsToVerifiedMembers)) {
157
+ if (restrictWithdrawalsToVerifiedMembers &&
158
+ (!memberVerification ||
159
+ (memberVerification.status !== 'APPROVED' &&
160
+ memberVerification.status !== 'VERIFIED'))) {
161
161
  return _jsx(AccountVerificationRequired, {});
162
162
  }
163
163
  if (enabledPaymentMethods.length <= 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1057",
3
+ "version": "0.0.1058",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",