refactor: enable scroll restoration in Next.js configuration
This commit is contained in:
parent
1fea33c6eb
commit
d6908bc27e
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ async function createNextConfig(): Promise<NextConfig> {
|
|||
removeConsole: false,
|
||||
},
|
||||
experimental: {
|
||||
scrollRestoration: true,
|
||||
// esmExternals: "loose", // This if react-pdf gives compilation issues
|
||||
},
|
||||
generateBuildId: async () => buildId,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue