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 5360db1 commit e4bb450Copy full SHA for e4bb450
src/components/Parallax.js
@@ -29,7 +29,7 @@ export default class Parallax extends Component {
29
componentDidMount() {
30
// add this Parallax element to the global listener
31
if (typeof ParallaxScrollListener === 'undefined') {
32
- throw new Error('Must import/require the global ParallaxScrollListener before adding React Parallax components.');
+ throw new Error('Must initialize the ParallaxScroller before adding React Parallax components.');
33
}
34
// create a new parallax element and save the reference
35
this.element = ParallaxScrollListener.createElement({
0 commit comments