@docusaurus/plugin-content-blog 4.0.0-canary-6859 → 4.0.0-canary-6862

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.
@@ -36,7 +36,7 @@ function useContextValue({ content, isBlogPostPage, }) {
36
36
  */
37
37
  export function BlogPostProvider({ children, content, isBlogPostPage = false, }) {
38
38
  const contextValue = useContextValue({ content, isBlogPostPage });
39
- return <Context.Provider value={contextValue}>{children}</Context.Provider>;
39
+ return <Context value={contextValue}>{children}</Context>;
40
40
  }
41
41
  /**
42
42
  * Returns the data of the currently browsed blog post. Gives access to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-blog",
3
- "version": "4.0.0-canary-6859",
3
+ "version": "4.0.0-canary-6862",
4
4
  "description": "Blog plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-blog.d.ts",
@@ -31,16 +31,16 @@
31
31
  },
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@docusaurus/core": "4.0.0-canary-6859",
35
- "@docusaurus/glob": "4.0.0-canary-6859",
36
- "@docusaurus/logger": "4.0.0-canary-6859",
37
- "@docusaurus/mdx-loader": "4.0.0-canary-6859",
38
- "@docusaurus/module-type-aliases": "4.0.0-canary-6859",
39
- "@docusaurus/theme-common": "4.0.0-canary-6859",
40
- "@docusaurus/types": "4.0.0-canary-6859",
41
- "@docusaurus/utils": "4.0.0-canary-6859",
42
- "@docusaurus/utils-common": "4.0.0-canary-6859",
43
- "@docusaurus/utils-validation": "4.0.0-canary-6859",
34
+ "@docusaurus/core": "4.0.0-canary-6862",
35
+ "@docusaurus/glob": "4.0.0-canary-6862",
36
+ "@docusaurus/logger": "4.0.0-canary-6862",
37
+ "@docusaurus/mdx-loader": "4.0.0-canary-6862",
38
+ "@docusaurus/module-type-aliases": "4.0.0-canary-6862",
39
+ "@docusaurus/theme-common": "4.0.0-canary-6862",
40
+ "@docusaurus/types": "4.0.0-canary-6862",
41
+ "@docusaurus/utils": "4.0.0-canary-6862",
42
+ "@docusaurus/utils-common": "4.0.0-canary-6862",
43
+ "@docusaurus/utils-validation": "4.0.0-canary-6862",
44
44
  "cheerio": "^1.2.0",
45
45
  "combine-promises": "^1.2.0",
46
46
  "feed": "^5.2.1",
@@ -69,5 +69,5 @@
69
69
  "tree-node-cli": "^3.0.0",
70
70
  "unified": "^11.0.5"
71
71
  },
72
- "gitHead": "e3da0b4153190a1001ad0c242a684a3201aff6d1"
72
+ "gitHead": "b21cd576b7f75d57b62d6c4441d7c0ac29fe1437"
73
73
  }
@@ -76,7 +76,7 @@ export function BlogPostProvider({
76
76
  isBlogPostPage?: boolean;
77
77
  }): ReactNode {
78
78
  const contextValue = useContextValue({content, isBlogPostPage});
79
- return <Context.Provider value={contextValue}>{children}</Context.Provider>;
79
+ return <Context value={contextValue}>{children}</Context>;
80
80
  }
81
81
 
82
82
  /**