Skip to content

Commit 1cb5f11

Browse files
committedJan 6, 2021
Fixed demo links in the README.md;
1 parent 3a72d79 commit 1cb5f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $ npm install use-async-effect2 c-promise2
3030
$ yarn add use-async-effect2 c-promise2
3131
```
3232
## Usage example
33-
Minimal example with json request [Live demo](https://codesandbox.io/s/friendly-murdock-wxq8u?file=/src/App.js)
33+
Minimal example with json request [Live demo](https://codesandbox.io/s/friendly-murdock-wxq8u?file=/src/TestComponent.js)
3434
````jsx
3535
import React from "react";
3636
import {useState} from "react";
@@ -50,7 +50,7 @@ function JSONViewer(props) {
5050
return <div>{text}</div>;
5151
}
5252
````
53-
Example with a timeout & error handling ([Live demo](https://codesandbox.io/s/async-effect-demo1-vho29)):
53+
Example with a timeout & error handling ([Live demo](https://codesandbox.io/s/async-effect-demo1-vho29?file=/src/TestComponent.js)):
5454
````jsx
5555
import React from "react";
5656
import {useState} from "react";

0 commit comments

Comments
 (0)
Please sign in to comment.