We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6df8eb commit d5aaa72Copy full SHA for d5aaa72
src/content/reference/rsc/server-actions.md
@@ -82,7 +82,7 @@ import {createNoteAction} from './actions';
82
function EmptyNote() {
83
console.log(createNoteAction);
84
// {$$typeof: Symbol.for("react.server.reference"), $$id: 'createNoteAction'}
85
- <button onClick={createNoteAction} />
+ return <button onClick={createNoteAction} />
86
}
87
```
88
0 commit comments