Skip to content

Commit 811b248

Browse files
committed
correct typo
1 parent d58f970 commit 811b248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/components/IntroCopy/IntroCopy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Parallax } from 'react-scroll-parallax';
77
// }
88
// const modulo = copy.length % 2;
99

10-
const copy = 'Parrallax'.split('');
10+
const copy = 'Parallax'.split('');
1111

1212
const IntroCopy = () => (
1313
<div className={style.root}>
@@ -16,7 +16,7 @@ const IntroCopy = () => (
1616
{copy.map((letter, i) => (
1717
<Parallax
1818
key={`copy-${i}`}
19-
offsetXMax={100 * (i - 4)}
19+
offsetXMax={100 * (i - 3)}
2020
className={style.letter}
2121
>
2222
{letter}

0 commit comments

Comments
 (0)