import React from 'react'
import ReactDOM from 'react-dom'
import Dashboard from '../dashboard'
import 'react-flexr/styles.css'
import './reset.css'

ReactDOM.render(
  <Dashboard />,
  document.querySelector('dashboard')
)

import React from 'react'
import {render} from 'react-dom'
import {createStore} from 'redux'
import {Provider} from 'react-redux'
import Dashboard from '../dashboard'
import './reset.css'
import 'react-flexr/styles.css'
import poll from './reducers'

const store = createStore(poll)

render(
  <Provider store={store}>
    <Dashboard />
  </Provider>,
  document.querySelector('dashboard')
)

add redux