@edifice.io/collect-frontend 1.0.6 → 1.0.7-develop-pedago.1.20260810084014

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -4
  2. package/package.json +6 -6
package/lib/index.js CHANGED
@@ -14401,9 +14401,9 @@ const Nu = ({
14401
14401
  collection: e
14402
14402
  }) => {
14403
14403
  const t = We(), { lg: n } = Jt(), r = Dt.use.setIsPastDeadline();
14404
- return r(new Date(e.deadline) < /* @__PURE__ */ new Date()), Oe(() => {
14404
+ return Oe(() => {
14405
14405
  r(new Date(e.deadline) < /* @__PURE__ */ new Date());
14406
- }, [e.deadline]), /* @__PURE__ */ _(
14406
+ }, [e.deadline, r]), /* @__PURE__ */ _(
14407
14407
  Y,
14408
14408
  {
14409
14409
  className: "bg-gray-200 mx-n16 flex-fill border-bottom-0 border",
@@ -14414,7 +14414,7 @@ const Nu = ({
14414
14414
  {
14415
14415
  collection: e,
14416
14416
  context: pi.COLLECTION,
14417
- onClickBack: () => t(-1)
14417
+ onClickBack: () => t("/list-collections")
14418
14418
  }
14419
14419
  ),
14420
14420
  /* @__PURE__ */ _(le, { className: "flex-grow-1 m-16 gap-24", children: [
@@ -14757,7 +14757,7 @@ const h6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14757
14757
  {
14758
14758
  collection: e,
14759
14759
  context: pi.SUBMISSION,
14760
- onClickBack: () => n(-1),
14760
+ onClickBack: () => n("/list-submissions"),
14761
14761
  handleUpdateSubmission: s
14762
14762
  }
14763
14763
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/collect-frontend",
3
- "version": "1.0.6",
3
+ "version": "1.0.7-develop-pedago.1.20260810084014",
4
4
  "private": false,
5
5
  "license": "GPL-3.0",
6
6
  "author": "Edifice",
@@ -27,9 +27,9 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@edifice.io/collect-client-rest": "workspace:*",
30
- "@edifice.io/bootstrap": "2.6.2",
31
- "@edifice.io/client": "2.6.2",
32
- "@edifice.io/react": "2.6.2",
30
+ "@edifice.io/bootstrap": "develop-pedago",
31
+ "@edifice.io/client": "develop-pedago",
32
+ "@edifice.io/react": "develop-pedago",
33
33
  "@react-spring/web": "9.7.5",
34
34
  "@tanstack/react-query": "5.81.5",
35
35
  "@uidotdev/usehooks": "2.4.1",
@@ -37,7 +37,7 @@
37
37
  "clsx": "2.1.1",
38
38
  "i18next": "23.8.1",
39
39
  "i18next-http-backend": "2.4.2",
40
- "ode-explorer": "2.6.5",
40
+ "ode-explorer": "develop-pedago",
41
41
  "pdfjs-dist": "5.4.394",
42
42
  "react": "18.3.1",
43
43
  "react-dom": "18.3.1",
@@ -89,4 +89,4 @@
89
89
  "lib"
90
90
  ],
91
91
  "nx": {}
92
- }
92
+ }