diff --git a/next.config.js b/next.config.js index b494aa1e2..861792c8e 100644 --- a/next.config.js +++ b/next.config.js @@ -8,17 +8,9 @@ const nextConfig = { pageExtensions: ['jsx', 'js', 'ts', 'tsx', 'mdx', 'md'], reactStrictMode: true, - // bundlePagesRouterDependencies: true, experimental: { - // TODO: Remove after https://github.com/vercel/next.js/issues/49355 is fixed - // appDir: false, scrollRestoration: true, - // legacyBrowsers: false, - // reactCompiler: true, - // staleTimes: { - // dynamic: 30, - // static: 180, - // }, + reactCompiler: true, }, env: {}, webpack: (config, {dev, isServer, ...options}) => { diff --git a/package.json b/package.json index ff2faad00..948b298fe 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "date-fns": "^2.16.1", "debounce": "^1.2.1", "github-slugger": "^1.3.0", - "next": "^15.0.0-canary.43", + "next": "^15.0.0-rc.0", "next-remote-watch": "^1.0.0", "parse-numeric-range": "^1.2.0", "react": "^19.0.0-rc-8971381549-20240625", @@ -63,7 +63,7 @@ "autoprefixer": "^10.4.2", "babel-eslint": "10.x", "eslint": "7.x", - "eslint-config-next": "^15.0.0-rc.0", + "eslint-config-next": "12.0.3", "eslint-config-react-app": "^5.2.1", "eslint-plugin-flowtype": "4.x", "eslint-plugin-import": "2.x", diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index 72ab36884..c992fd83b 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -915,6 +915,7 @@ function Example1() { isFromPackageImport={false} noShadow={true} noMargin={true}> + {/* eslint-disable-next-line react/no-unknown-property */}