We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbe68f commit 28b9663Copy full SHA for 28b9663
README.md
@@ -49,7 +49,7 @@ yarn add @use-hooks/interval
49
```js
50
import React, { useState } from 'react';
51
52
-import useInterval from '@use-hooks/interval/index';
+import useInterval from '@use-hooks/interval';
53
54
export default function App() {
55
const [count, setCount] = useState(0);
example/App.jsx
@@ -1,6 +1,6 @@
1
2
3
-import useInterval from '../src/index';
+import useInterval from '../src';
4
5
6
0 commit comments