Skip to content

Commit

Permalink
docs: fix typo (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamaluddinrumi authored Oct 18, 2024
1 parent 38c6baa commit a6b10ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/1.guide/2.hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const hooks = defineHooks({
return {
headers: {}
}
}
},

open(peer) {
console.log(`[ws] open: ${peer}`);
Expand All @@ -40,5 +40,5 @@ const hooks = defineHooks({
error(peer, error) {
console.log("[ws] error", peer, error);
},
};
});
```

0 comments on commit a6b10ae

Please sign in to comment.