Skip to content
Open
4 changes: 3 additions & 1 deletion website/src/components/Playground/preview/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ function Preview<T>({
const log = registry.log.connect(history, replacedHistory, action =>
network.skipLogging(action),
);
return [log.head, registry, ...managers, log.tail];
// the head goes first: it credits each action to the manager whose
// controller call sent it
return [log.head, registry, ...log.track(managers), log.tail];
});

return (
Expand Down
Loading
Loading