@layerfi/components 0.1.97-alpha → 0.1.97

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.
@@ -5601,7 +5601,7 @@ var import_react16 = require("react");
5601
5601
  var import_react14 = require("react");
5602
5602
 
5603
5603
  // package.json
5604
- var version = "0.1.97-alpha";
5604
+ var version = "0.1.97";
5605
5605
 
5606
5606
  // src/models/APIError.ts
5607
5607
  var APIError = class _APIError extends Error {
@@ -27541,7 +27541,7 @@ function TasksList({ pageSize = 8, mobile }) {
27541
27541
  });
27542
27542
  }, [activePeriod == null ? void 0 : activePeriod.tasks]);
27543
27543
  const { pageItems, pageIndex, set: set2 } = usePaginatedList(sortedTasks, pageSize);
27544
- const indexFirstIncomplete = sortedTasks == null ? void 0 : sortedTasks.findIndex((task) => isIncompleteTask(task));
27544
+ const indexFirstIncomplete = pageItems == null ? void 0 : pageItems.findIndex((task) => isIncompleteTask(task));
27545
27545
  if (mobile) {
27546
27546
  return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
27547
27547
  TasksListMobile,
@@ -5570,7 +5570,7 @@ import { useState as useState8 } from "react";
5570
5570
  import { useReducer, useEffect as useEffect4 } from "react";
5571
5571
 
5572
5572
  // package.json
5573
- var version = "0.1.97-alpha";
5573
+ var version = "0.1.97";
5574
5574
 
5575
5575
  // src/models/APIError.ts
5576
5576
  var APIError = class _APIError extends Error {
@@ -27614,7 +27614,7 @@ function TasksList({ pageSize = 8, mobile }) {
27614
27614
  });
27615
27615
  }, [activePeriod == null ? void 0 : activePeriod.tasks]);
27616
27616
  const { pageItems, pageIndex, set: set2 } = usePaginatedList(sortedTasks, pageSize);
27617
- const indexFirstIncomplete = sortedTasks == null ? void 0 : sortedTasks.findIndex((task) => isIncompleteTask(task));
27617
+ const indexFirstIncomplete = pageItems == null ? void 0 : pageItems.findIndex((task) => isIncompleteTask(task));
27618
27618
  if (mobile) {
27619
27619
  return /* @__PURE__ */ jsx235(
27620
27620
  TasksListMobile,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.97-alpha",
3
+ "version": "0.1.97",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",