doc: Add missing return statement (#7081)

This commit is contained in:
cst9221
2024-10-01 05:17:51 +09:00
committed by GitHub
parent d6df8eb253
commit d5aaa723e4

View File

@@ -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} />
}
```