Skip to content

Commit 7ce199e

Browse files
committed
Example now is javascript
1 parent 55ba029 commit 7ce199e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm add yieldmachine
2020
```javascript
2121
import { call, on, start } from "yieldmachine";
2222

23-
function Loader({ url }: { url: URL }) {
23+
function Loader({ url }) {
2424
function* idle() {
2525
yield on("FETCH", loading);
2626
}

0 commit comments

Comments
 (0)