@blocklet/discuss-kit 1.0.14 → 1.0.15

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.
@@ -253,7 +253,8 @@ function DiscussKitComments({
253
253
  }), session.user && /* @__PURE__ */ jsxRuntime.jsx(Box__default.default, {
254
254
  mt: 2.5,
255
255
  children: /* @__PURE__ */ jsxRuntime.jsx(discussKitUx.CommentInput, {
256
- send: sendComment
256
+ send: sendComment,
257
+ draftKey: `object-${object.id}`
257
258
  })
258
259
  })]
259
260
  }), !!total && /* @__PURE__ */ jsxRuntime.jsxs(Box__default.default, {
@@ -239,7 +239,8 @@ function DiscussKitComments({
239
239
  }), session.user && /* @__PURE__ */ jsx(Box, {
240
240
  mt: 2.5,
241
241
  children: /* @__PURE__ */ jsx(CommentInput, {
242
- send: sendComment
242
+ send: sendComment,
243
+ draftKey: `object-${object.id}`
243
244
  })
244
245
  })]
245
246
  }), !!total && /* @__PURE__ */ jsxs(Box, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "A react component for Discuss Kit blocklet.",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/es/index.js",
@@ -37,7 +37,7 @@
37
37
  "@arcblock/did-connect": "^2.4.57",
38
38
  "@arcblock/ux": "^2.4.57",
39
39
  "@arcblock/ws": "^1.18.30",
40
- "@blocklet/discuss-kit-ux": "1.0.14",
40
+ "@blocklet/discuss-kit-ux": "1.0.15",
41
41
  "@blocklet/editor": "^0.0.10",
42
42
  "@emotion/react": "^11.10.5",
43
43
  "@emotion/styled": "^11.10.5",
@@ -77,5 +77,5 @@
77
77
  "vite-plugin-build": "^0.6.0",
78
78
  "vite-plugin-svgr": "^2.2.2"
79
79
  },
80
- "gitHead": "2e344280e1268a0b26500ff576cb6916447a0699"
80
+ "gitHead": "38b6b9c5d0c3f6640cc1133c352aad9bc985a6b3"
81
81
  }