@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.
- package/dist/cjs/index.cjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -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
|
|
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 =
|
|
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,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -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
|
|
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 =
|
|
27617
|
+
const indexFirstIncomplete = pageItems == null ? void 0 : pageItems.findIndex((task) => isIncompleteTask(task));
|
|
27618
27618
|
if (mobile) {
|
|
27619
27619
|
return /* @__PURE__ */ jsx235(
|
|
27620
27620
|
TasksListMobile,
|