Skip to content

Commit 4905acf

Browse files
authored
fix: typo in README (amorriscode#35)
1 parent b4b8090 commit 4905acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import * as React from 'react'
2222
import { useOverflow } from 'use-overflow'
2323

2424
const Example = () => {
25-
const horizonstalRef = React.useRef(null);
26-
const { refXOverflowing, refXScrollBegin, refXScrollEnd } = useOverflow(horizonstalRef);
25+
const horizontalRef = React.useRef(null);
26+
const { refXOverflowing, refXScrollBegin, refXScrollEnd } = useOverflow(horizontalRef);
2727

2828
const verticalRef = React.useRef(null);
2929
const { refYOverflowing, refYScrollBegin, refYScrollEnd } = useOverflow(verticalRef);

0 commit comments

Comments
 (0)