Skip to content

Commit 81aed94

Browse files
committed
Placing BaseComponent in libs folder
1 parent 4d95cf4 commit 81aed94

File tree

11 files changed

+10
-10
lines changed

11 files changed

+10
-10
lines changed

client/app/bundles/comments/components/CommentBox/CommentBox.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React, { PropTypes } from 'react';
33
import CommentForm from './CommentForm/CommentForm';
44
import CommentList from './CommentList/CommentList';
55
import css from './CommentBox.scss';
6-
import BaseComponent from '../BaseComponent';
6+
import BaseComponent from 'libs/components/BaseComponent';
77

88
export default class CommentBox extends BaseComponent {
99
static propTypes = {

client/app/bundles/comments/components/CommentBox/CommentForm/CommentForm.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Alert from 'react-bootstrap/lib/Alert';
99
import ReactCSSTransitionGroup from 'react/lib/ReactCSSTransitionGroup';
1010
import _ from 'lodash';
1111

12-
import BaseComponent from '../../BaseComponent';
12+
import BaseComponent from 'libs/components/BaseComponent';
1313

1414
const emptyComment = { author: '', text: '' };
1515
const textPlaceholder = 'Say something using markdown...';

client/app/bundles/comments/components/CommentBox/CommentList/Comment/Comment.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { PropTypes } from 'react';
22
import marked from 'marked';
33

44
import css from './Comment.scss';
5-
import BaseComponent from '../../../BaseComponent';
5+
import BaseComponent from 'libs/components/BaseComponent';
66

77
export default class Comment extends BaseComponent {
88
static propTypes = {

client/app/bundles/comments/components/CommentBox/CommentList/CommentList.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ReactCSSTransitionGroup from 'react/lib/ReactCSSTransitionGroup';
55
import _ from 'lodash';
66

77
import Comment from './Comment/Comment';
8-
import BaseComponent from '../../BaseComponent';
8+
import BaseComponent from 'libs/components/BaseComponent';
99

1010
export default class CommentList extends BaseComponent {
1111
static propTypes = {

client/app/bundles/comments/components/CommentScreen/CommentScreen.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { PropTypes } from 'react';
22

33
import CommentBox from '../CommentBox/CommentBox';
44
import css from './CommentScreen.scss';
5-
import BaseComponent from '../BaseComponent';
5+
import BaseComponent from 'libs/components/BaseComponent';
66

77
export default class CommentScreen extends BaseComponent {
88

client/app/bundles/comments/components/SimpleCommentScreen/SimpleCommentScreen.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import metaTagsManager from 'libs/metaTagsManager';
77
import CommentForm from '../CommentBox/CommentForm/CommentForm';
88
import CommentList from '../CommentBox/CommentList/CommentList';
99
import css from './SimpleCommentScreen.scss';
10-
import BaseComponent from '../BaseComponent';
10+
import BaseComponent from 'libs/components/BaseComponent';
1111

1212
export default class SimpleCommentScreen extends BaseComponent {
1313
constructor(props, context) {

client/app/bundles/comments/components/TestReactRouter/TestReactRouter.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22

3-
import BaseComponent from '../BaseComponent';
3+
import BaseComponent from 'libs/components/BaseComponent';
44

55
export default class TestReactRouter extends BaseComponent {
66
render() {

client/app/bundles/comments/components/TestReactRouterRedirect/TestReactRouterRedirect.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22

3-
import BaseComponent from '../BaseComponent';
3+
import BaseComponent from 'libs/components/BaseComponent';
44

55
export default class TestReactRouterRedirect extends BaseComponent {
66
static checkAuth(nextState, replaceState) {

client/app/bundles/comments/containers/NonRouterCommentsContainer.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { bindActionCreators } from 'redux';
44

55
import CommentScreen from '../components/CommentScreen/CommentScreen';
66
import * as commentsActionCreators from '../actions/commentsActionCreators';
7-
import BaseComponent from '../components/BaseComponent';
7+
import BaseComponent from 'libs/components/BaseComponent';
88

99
function select(state) {
1010
// Which part of the Redux global state does our component want to receive as props?

client/app/bundles/comments/containers/RouterCommentsContainer.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { bindActionCreators } from 'redux';
44

55
import CommentScreen from '../components/CommentScreen/CommentScreen';
66
import * as commentsActionCreators from '../actions/commentsActionCreators';
7-
import BaseComponent from '../components/BaseComponent';
7+
import BaseComponent from 'libs/components/BaseComponent';
88

99
function select(state) {
1010
// Which part of the Redux global state does our component want to receive as props?

0 commit comments

Comments
 (0)