Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Jin authored and Xin Jin committed Sep 5, 2017
1 parent f324e9e commit 9a30eb2
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import createStore from '../store/store'
import { BrowserRouter } from 'react-router-dom'
import domready from 'domready'
import {createBrowserHistory} from 'history'
import App from '../view/components/app'
import App from '../components/app'
const store = createStore();

domready(function() {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/view/components/app.js → src/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { Provider } from 'react-redux'
import React from 'react'
import Routes from '../routes'
import Routes from '../app/routes'
import { ConnectedRouter } from 'react-router-redux'


Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/container/home/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*/
import React, { Component } from 'react'
import { connect } from 'react-redux'
import Banner from '../../view/components/banner'
import Loader from '../../view/components/loader'
import Banner from '../../components/banner'
import Loader from '../../components/loader'
import * as actions from './actionCreator'
class Home extends Component {

Expand Down
2 changes: 1 addition & 1 deletion src/serverRendering/serverRender.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { createMemoryHistory } from 'history'
import { StaticRouter } from 'react-router'
import App from '../view/components/app'
import App from '../components/app'
import ReactDOMServer from 'react-dom/server'
import React from 'react'

Expand Down

0 comments on commit 9a30eb2

Please sign in to comment.