diff --git a/README.md b/README.md index 17b7a88..6375b9e 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ The pipeable version of `suspend` ```ts const story$ = selectedStoryId$.pipe( - switchMapSuspended(id => getStory$(id)) + switchMapSuspended(getStory$) ) ```