Skip to content

Commit

Permalink
docs: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Apr 4, 2024
1 parent 966c33a commit 261661f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ await$($promise)(
`forAwait$` is a method that can handle and render async iterables.

```js
import { ul, li, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews'
import { ul, li, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews'

ul()(
forAwait$(fetchProducts())(
Expand All @@ -626,7 +626,7 @@ ul()(
Also you can render list in reversed order:

```js
import { main, div, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews'
import { main, div, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews'

main()(
forAwait$(fetchNewsFeed(), true)(
Expand Down
4 changes: 2 additions & 2 deletions packages/nanoviews/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ await$($promise)(
`forAwait$` is a method that can handle and render async iterables.

```js
import { ul, li, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews'
import { ul, li, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews'

ul()(
forAwait$(fetchProducts())(
Expand All @@ -626,7 +626,7 @@ ul()(
Also you can render list in reversed order:

```js
import { main, div, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews'
import { main, div, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews'

main()(
forAwait$(fetchNewsFeed(), true)(
Expand Down

0 comments on commit 261661f

Please sign in to comment.