Skip to content

Commit 7bce3c3

Browse files
authored
Merge pull request #69 from oslabs-beta/rydang-patch-1
Update readme.md
2 parents eb09801 + 1f54047 commit 7bce3c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Two parts are needed for this tool to function. The chrome extension must be ins
1212
```
1313
npm i react-time-travel
1414
```
15-
3. Call the `linkFiber` method on your root container after rendering your App.
15+
3. Call the library method on your root container after rendering your App.
1616

1717
```
18-
const { linkFiber } = require('react-time-travel');
18+
const reactTimeTravel = require('react-time-travel');
1919
2020
const rootContainer = document.getElementById('root');
2121
ReactDom.render(<App />, rootContainer);
2222
23-
linkFiber(rootContainer);
23+
reactTimeTravel(rootContainer);
2424
```
2525

2626
4. Done! That's all you have to do to link your React project to our library.

0 commit comments

Comments
 (0)