We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2f3059 commit a628e63Copy full SHA for a628e63
packages/next/src/server/app-render/get-layer-assets.tsx
@@ -97,7 +97,7 @@ export function getLayerAssets({
97
? scriptTags.map((href, index) => {
98
const fullSrc = `${ctx.assetPrefix}/_next/${href}`
99
100
- return <script src={fullSrc} async={true} key={index} />
+ return <script src={fullSrc} async={true} key={`script-${index}`} />
101
})
102
: []
103
0 commit comments