@opexa/portal-components 0.0.1090 → 0.0.1091

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.
@@ -153,8 +153,16 @@ export function PersonalInformation() {
153
153
  status: 'PENDING',
154
154
  };
155
155
  });
156
- //refetch fresh data to show kyc reminder modal when verification lock & pending status
157
- queryClient.invalidateQueries({ queryKey: getAccountQueryKey() });
156
+ queryClient.setQueryData(getAccountQueryKey(), (prev) => {
157
+ if (!prev)
158
+ return prev;
159
+ return {
160
+ ...prev,
161
+ verification: {
162
+ status: 'PENDING',
163
+ },
164
+ };
165
+ });
158
166
  kyc.setDone(true);
159
167
  globalStore.kyc.setOpen(false);
160
168
  globalStore.kycAccountVerificationRequired.setOpen(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1090",
3
+ "version": "0.0.1091",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",