Skip to content

Commit 0575737

Browse files
committed
wip
1 parent 4b356c7 commit 0575737

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/browser/architecture/ARCHITECTURE.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,8 @@ analytics.addDestinationMiddleware('amplitude', ({ next, payload }) => {
175175
```
176176
or, to apply to all destinations
177177
```ts
178-
analytics.addDestinationMiddleware('*', (ctx) => {
179-
// This does not apply to the segment.io destination plugin, only device mode destinations.
180-
ctx.event.properties!.hello = 'from the other side'
181-
return ctx
178+
analytics.addDestinationMiddleware('*', ({ next, payload }) => {
179+
...
182180
})
183181
```
184182

0 commit comments

Comments
 (0)