mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
doc: Add missing return statement (#7081)
This commit is contained in:
@@ -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} />
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user