feat: restore scroll position when navigating back

This commit is contained in:
Matjaž Drolc
2025-02-03 15:49:19 +01:00
committed by Mathias Schopmans
parent 1c9bfa3515
commit 5484b04c9f
2 changed files with 5 additions and 2 deletions

View File

@@ -8,6 +8,9 @@ const nextConfig = {
output: "export",
trailingSlash: true,
reactStrictMode: true,
experimental: {
scrollRestoration: true,
},
};
module.exports = nextConfig;

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "aoe_technology_radar",
"version": "4.4.0-rc.1",
"version": "4.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "aoe_technology_radar",
"version": "4.4.0-rc.1",
"version": "4.4.0",
"hasInstallScript": true,
"bin": {
"techradar": "bin/techradar.js"