Skip to content

Commit

Permalink
i18n(ko-KR): update streaming-improve-page-performance.mdx (#9989)
Browse files Browse the repository at this point in the history
Co-authored-by: liruifengv <[email protected]>
  • Loading branch information
jsparkdev and liruifengv authored Nov 12, 2024
1 parent ebc777f commit 1f102fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import RandomFact from '../components/RandomFact.astro';
---
const personPromise = fetch('https://randomuser.me/api/')
.then(response => response.json())
.then(arr => arr[0].name.first);
.then(personData => personData.results[0].name.first);
const factPromise = fetch('https://catfact.ninja/fact')
.then(response => response.json())
.then(factData => factData.fact);
Expand Down

0 comments on commit 1f102fd

Please sign in to comment.