Updates Large Page Data error message doc to use JSON.parse
to make reading output easier (#56713)
Fixes https://github.com/vercel/feedback/issues/26361
This commit is contained in:
parent
daa865fff6
commit
f0dd49e405
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ Reduce the amount of data returned from `getStaticProps`, `getServerSideProps`,
|
|||
To inspect the props passed to your page, you can inspect the below element's content in your browser devtools:
|
||||
|
||||
```bash filename="Terminal"
|
||||
document.getElementById("__NEXT_DATA__").text
|
||||
JSON.parse(document.getElementById("__NEXT_DATA__").textContent)
|
||||
```
|
||||
|
||||
## Useful Links
|
||||
|
|
Loading…
Reference in a new issue