mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
finish drag and drop system
This commit is contained in:
parent
e36be9e381
commit
7806219464
19 changed files with 465 additions and 90 deletions
|
@ -1,10 +1,12 @@
|
|||
import React, { Component } from 'react'
|
||||
import { BrowserRouter } from 'react-router-dom'
|
||||
import { Provider } from 'react-redux'
|
||||
import createHistory from 'history/createBrowserHistory'
|
||||
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'
|
||||
|
@ -15,6 +17,7 @@ const store = configureStore(undefined, history)
|
|||
|
||||
window.__APP_STORE__ = store
|
||||
|
||||
@DragDropContext(HTML5Backend)
|
||||
class App extends Component {
|
||||
componentWillMount () {
|
||||
store.dispatch(userInit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue