From 261661fb615b6e0ba28e5dc666627d88ce18dbb2 Mon Sep 17 00:00:00 2001 From: dangreen <danon0404@gmail.com> Date: Fri, 5 Apr 2024 03:05:39 +0400 Subject: [PATCH] docs: fixes --- README.md | 4 ++-- packages/nanoviews/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0679008..4d8bce1 100644 --- a/README.md +++ b/README.md @@ -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())( @@ -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)( diff --git a/packages/nanoviews/README.md b/packages/nanoviews/README.md index 63eeecf..09bc91a 100644 --- a/packages/nanoviews/README.md +++ b/packages/nanoviews/README.md @@ -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())( @@ -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)(