54f33992c0
This fix the bad missing indentation for the source code in dev overlay. It was caused by a space replacement change in dev overlay before. Which should only replace the leading multi-spaces but it was replacing other spaces as well in the code. #### Code ```jsx export default async function Page() { await fetch('http://localhost:3004') } ``` #### After <img width="486" alt="image" src="https://github.com/vercel/next.js/assets/4800338/2c0a2720-c3c8-4db2-a548-f4daabd3c5d5"> #### Before <img width="484" alt="image" src="https://github.com/vercel/next.js/assets/4800338/f68ceea0-cead-4e23-9db7-2acb24a14485"> Closes NEXT-2166 Closes NEXT-2257 |
||
---|---|---|
.. | ||
.stats-app | ||
development | ||
e2e | ||
examples | ||
integration | ||
lib | ||
production | ||
unit | ||
.gitignore | ||
build-turbopack-tests-manifest.d.ts | ||
build-turbopack-tests-manifest.js | ||
get-test-filter.js | ||
jest-setup-after-env.ts | ||
ppr-tests-manifest.json | ||
readme.md | ||
test-file.txt | ||
tsconfig.json | ||
turbopack-tests-manifest.json |