Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nkint authored Aug 26, 2019
1 parent 161b4f8 commit 0f96d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hdom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ diffing via RAF).
```ts
import { fromInterval, stream, sync } from "@thi.ng/rstream";
import { updateDOM } from "@thi.ng/transducers-hdom";
import { map, scan } from "@thi.ng/transducers";
import { map, scan, count } from "@thi.ng/transducers";

// root component function
const app = ({ ticks, clicks }) =>
Expand All @@ -165,7 +165,7 @@ const app = ({ ticks, clicks }) =>
];

// transformed stream to count clicks
const clickStream = stream().transform(scan(tx.count(-1)));
const clickStream = stream().transform(scan(count(-1)));
// seed
clickStream.next(0);

Expand Down

0 comments on commit 0f96d5a

Please sign in to comment.