Skip to content

Commit 79d1e8e

Browse files
authored
Fix example in RSC blog post (#348)
1 parent 218e1be commit 79d1e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/posts/react-router-and-react-server-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default function Page() {
100100
// React RSC
101101
// page.tsx
102102
export async function Page() {
103-
const slowData = getSlowData();
103+
const slowDataPromise = getSlowData();
104104
const criticalData = await getCriticalData();
105105
return (
106106
<>

0 commit comments

Comments
 (0)