fix some typos in optimize-storage.md (#1565)

* fix some typos in optimize-storage.md

* Update docs/recipes/optimize-storage.md

* Create metal-mugs-mate.md

---------

Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com>
This commit is contained in:
Riadh Mouamnia
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 2dbfe3b18a
commit 2490cd9c40
2 changed files with 5 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ rrweb.record({
rrweb.record({
emit(event) {},
sampling: {
// Configure which kins of mouse interaction should be recorded
// Configure which kinds of mouse interaction should be recorded
mouseInteraction: {
MouseUp: false,
MouseDown: false,
@@ -78,7 +78,7 @@ import { pack } from '@rrweb/packer';
rrweb.record({
emit(event) {},
packFn: rrweb.pack,
packFn: pack,
});
```
@@ -88,7 +88,7 @@ And you need to pass packer.unpack as the `unpackFn` in replaying.
import { unpack } from '@rrweb/packer';
const replayer = new rrweb.Replayer(events, {
unpackFn: rrweb.unpack,
unpackFn: unpack,
});
```