tek-wallet 0.0.552 → 0.0.553

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.
@@ -230,13 +230,13 @@ function ActivitiesProvider(_a) {
230
230
  });
231
231
  }); }, [pages]);
232
232
  (0, react_1.useEffect)(function () {
233
- if (!!activities || pages[const_1.ACTIVITIES_TYPE_ALL.slug] === type_1.MAX_PAGE)
233
+ if (!!activities)
234
234
  return;
235
235
  updateActivities({
236
236
  page: pages[const_1.ACTIVITIES_TYPE_ALL.slug],
237
237
  take: const_1.ACTIVITIES_PAGE_SIZE,
238
238
  });
239
- }, [updateActivities, activities, pages]);
239
+ }, [isAuthenticated]);
240
240
  return ((0, jsx_runtime_1.jsx)(exports.ActivitiesContext.Provider, { value: {
241
241
  isLoadingActivities: isLoadingActivities,
242
242
  activities: activities,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.552",
3
+ "version": "0.0.553",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",