Skip to content

Commit e3e2b68

Browse files
committed
make imports relative
1 parent d811d75 commit e3e2b68

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

__tests__/ParallaxController.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ParallaxController } from 'react-scroll-parallax';
1+
import ParallaxController from 'libs/ParallaxController';
22

33
const addEventListener = window.addEventListener;
44
const removeEventListener = window.removeEventListener;

src/components/Parallax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
33
import { offsetMin, offsetMax } from '../utils/propValidation';
4-
import { ParallaxController } from 'react-scroll-parallax';
4+
import ParallaxController from '../libs/ParallaxController';
55

66
export default class Parallax extends Component {
77
static defaultProps = {

src/components/ParallaxProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
3-
import { ParallaxController } from 'react-scroll-parallax';
3+
import ParallaxController from '../libs/ParallaxController';
44

55
export default class ParallaxProvider extends Component {
66
static propTypes = {

0 commit comments

Comments
 (0)