Skip to content

Commit

Permalink
fix how we import Constants after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanshar committed Nov 22, 2019
1 parent 9648053 commit 8a1e467
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/connectionStatusBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import _ from 'lodash';
import {StyleSheet, Text, NetInfo} from 'react-native';
import * as Constants from '../../helpers/Constants';
import {Constants} from '../../helpers';
import {PureBaseComponent} from '../../commons';
import {Colors, Typography} from '../../style';
import TouchableOpacity from '../touchableOpacity';
Expand Down
2 changes: 1 addition & 1 deletion src/components/stepper/style.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {StyleSheet, PixelRatio} from 'react-native';
import * as Constants from '../../helpers/Constants';
import {Constants} from '../../helpers';
import {Colors, Typography, ThemeManager} from '../../style';

export default function createStyles() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/tagsInput/__tests__/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _ from 'lodash';
import * as Constants from '../../../helpers/Constants';
import {Constants} from '../../../helpers';
import TagsInput from '../index';

describe('TagsInput', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
import React, {PureComponent} from 'react';
import {View as RNView, ViewPropTypes, SafeAreaView, Animated} from 'react-native';
import {asBaseComponent, forwardRef} from '../../commons';
import * as Constants from '../../helpers/Constants';
import {Constants} from '../../helpers';

/**
* @description: Wrapper component for React Native View component
Expand Down
2 changes: 1 addition & 1 deletion src/screensComponents/loaderScreen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import {StyleSheet, ActivityIndicator} from 'react-native';
import {View as AnimatableView} from 'react-native-animatable';
import {Colors, Typography, ThemeManager} from '../../style';
import * as Constants from '../../helpers/Constants';
import {Constants} from '../../helpers';
import {BaseComponent} from '../../commons';
import Text from '../../components/text';
import View from '../../components/view';
Expand Down
2 changes: 1 addition & 1 deletion src/screensComponents/stateScreen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import _ from 'lodash';
import PropTypes from 'prop-types';
import React from 'react';
import {StyleSheet} from 'react-native';
import * as Constants from '../../helpers/Constants';
import {Constants} from '../../helpers';
import {Typography, ThemeManager} from '../../style';
import {BaseComponent} from '../../commons';
import View from '../../components/view';
Expand Down

0 comments on commit 8a1e467

Please sign in to comment.