Browse Source

fixing docs hydration error (#2047)

Italo Casas 3 years ago
parent
commit
ae0131dbb4
2 changed files with 11 additions and 12 deletions
  1. 0 1
      docs/next.config.js
  2. 11 11
      docs/package.json

+ 0 - 1
docs/next.config.js

@@ -7,7 +7,6 @@ const nextConfig = withMarkdoc()({
   reactStrictMode: true,
   pageExtensions: ['js', 'jsx', 'md'],
   experimental: {
-    newNextLinkBehavior: true,
     scrollRestoration: true,
     legacyBrowsers: false,
     images: { allowFutureImage: true },

+ 11 - 11
docs/package.json

@@ -10,29 +10,29 @@
   },
   "browserslist": "defaults, not ie <= 11",
   "dependencies": {
-    "@docsearch/react": "^3.1.0",
-    "@headlessui/react": "^1.6.5",
+    "@docsearch/react": "^3.1.1",
+    "@headlessui/react": "^1.6.6",
     "@markdoc/markdoc": "^0.1.3",
-    "@markdoc/next.js": "^0.1.4",
+    "@markdoc/next.js": "^0.1.6",
     "@sindresorhus/slugify": "^2.1.0",
-    "@tailwindcss/typography": "^0.5.2",
+    "@tailwindcss/typography": "^0.5.3",
     "autoprefixer": "^10.4.7",
-    "clsx": "^1.1.1",
+    "clsx": "^1.2.1",
     "focus-visible": "^5.2.0",
-    "next": "12.2.0",
+    "next": "12.2.1",
     "next-plausible": "^3.2.0",
     "postcss-focus-visible": "^6.0.4",
     "postcss-import": "^14.1.0",
-    "prism-react-renderer": "^1.3.3",
+    "prism-react-renderer": "^1.3.5",
     "prismjs": "^1.28.0",
     "react": "18.2.0",
     "react-dom": "18.2.0",
-    "tailwindcss": "^3.1.4"
+    "tailwindcss": "^3.1.5"
   },
   "devDependencies": {
-    "eslint": "8.18.0",
-    "eslint-config-next": "12.2.0",
+    "eslint": "8.19.0",
+    "eslint-config-next": "12.2.1",
     "prettier": "^2.7.1",
-    "prettier-plugin-tailwindcss": "^0.1.11"
+    "prettier-plugin-tailwindcss": "^0.1.12"
   }
 }