Skip to content

Commit

Permalink
doc: Add missing return statement (#7081)
Browse files Browse the repository at this point in the history
  • Loading branch information
cst9221 authored Sep 30, 2024
1 parent d6df8eb commit d5aaa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/rsc/server-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ import {createNoteAction} from './actions';
function EmptyNote() {
console.log(createNoteAction);
// {$$typeof: Symbol.for("react.server.reference"), $$id: 'createNoteAction'}
<button onClick={createNoteAction} />
return <button onClick={createNoteAction} />
}
```

Expand Down

0 comments on commit d5aaa72

Please sign in to comment.