Skip to content

Commit 61fcb79

Browse files
authored
Merge pull request #10 from ivanroguerre/fix/lesson-04-E-client-component-clarification
Fix: Add missing "use client" directive in RSC limitations lesson example
2 parents 693e589 + 5475406 commit 61fcb79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lessons/04-rscs-with-nextjs/E-limitations-of-rscs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export default async function WhoAmI() {
6060
And now clientPage.js
6161
6262
```javascript
63+
"use client";
6364
import updateUsername from "./updateUsername";
6465

6566
export default function ClientWhoAmIPage({ children, id }) {

0 commit comments

Comments
 (0)