Skip to content

Commit a6b10ae

Browse files
docs: fix typo (#85)
1 parent 38c6baa commit a6b10ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/1.guide/2.hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const hooks = defineHooks({
2020
return {
2121
headers: {}
2222
}
23-
}
23+
},
2424

2525
open(peer) {
2626
console.log(`[ws] open: ${peer}`);
@@ -40,5 +40,5 @@ const hooks = defineHooks({
4040
error(peer, error) {
4141
console.log("[ws] error", peer, error);
4242
},
43-
};
43+
});
4444
```

0 commit comments

Comments
 (0)