mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
chore: prettier on UI
This commit is contained in:
parent
912b40c383
commit
4b75eaa0ab
49 changed files with 1703 additions and 1267 deletions
|
@ -1,29 +1,29 @@
|
|||
import React, { Component } from 'react'
|
||||
import { Provider } from 'react-redux'
|
||||
import { ConnectedRouter } from 'react-router-redux'
|
||||
import { DragDropContext } from 'react-dnd'
|
||||
import HTML5Backend from 'react-dnd-html5-backend'
|
||||
import createHistory from 'history/createBrowserHistory'
|
||||
import configureStore from './store/configureStore'
|
||||
import './App.css'
|
||||
import './generic.sass'
|
||||
import React, { Component } from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
import { ConnectedRouter } from 'react-router-redux';
|
||||
import { DragDropContext } from 'react-dnd';
|
||||
import HTML5Backend from 'react-dnd-html5-backend';
|
||||
import createHistory from 'history/createBrowserHistory';
|
||||
import configureStore from './store/configureStore';
|
||||
import './App.css';
|
||||
import './generic.sass';
|
||||
|
||||
import Wrapper from './components/wrapper'
|
||||
import AppRouter from './router'
|
||||
import { userInit } from './actions'
|
||||
import Wrapper from './components/wrapper';
|
||||
import AppRouter from './router';
|
||||
import { userInit } from './actions';
|
||||
|
||||
const history = createHistory()
|
||||
const store = configureStore(undefined, history)
|
||||
const history = createHistory();
|
||||
const store = configureStore(undefined, history);
|
||||
|
||||
window.__APP_STORE__ = store
|
||||
window.__APP_STORE__ = store;
|
||||
|
||||
@DragDropContext(HTML5Backend)
|
||||
class App extends Component {
|
||||
componentWillMount () {
|
||||
store.dispatch(userInit)
|
||||
componentWillMount() {
|
||||
store.dispatch(userInit);
|
||||
}
|
||||
|
||||
render () {
|
||||
render() {
|
||||
return (
|
||||
<Provider store={store}>
|
||||
<ConnectedRouter history={history}>
|
||||
|
@ -32,8 +32,8 @@ class App extends Component {
|
|||
</Wrapper>
|
||||
</ConnectedRouter>
|
||||
</Provider>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default App
|
||||
export default App;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue