@blocklet/discuss-kit-ux 2.4.98 → 2.4.99

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.
@@ -2,7 +2,7 @@ import { joinURL } from "ufo";
2
2
  const { pageGroup } = window.blocklet;
3
3
  export const blogPrefix = pageGroup === "blog" ? "" : "blog";
4
4
  export const discussionPrefix = pageGroup === "discussion" ? "" : "discussions";
5
- export const docPrefix = pageGroup === "doc" || window.blocklet.preferences.docSmithEnabled ? "" : "docs";
5
+ export const docPrefix = pageGroup === "doc" ? "" : "docs";
6
6
  export const bookmarkPrefix = pageGroup === "bookmark" ? "" : "bookmark";
7
7
  export const blogPath = (path) => {
8
8
  return window.blocklet.pageGroup === "blog" ? path : joinURL("/blog", path);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "2.4.98",
3
+ "version": "2.4.99",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -47,8 +47,8 @@
47
47
  "unstated-next": "^1.1.0",
48
48
  "url-join": "^4.0.1",
49
49
  "zustand": "^4.5.5",
50
- "@blocklet/editor": "2.4.98",
51
- "@blocklet/labels": "2.4.98"
50
+ "@blocklet/editor": "2.4.99",
51
+ "@blocklet/labels": "2.4.99"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@arcblock/did-connect-react": "^3.1.5",