import { h, render } from 'preact'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import App from './components/App.jsx'
import reducer from './reducers/index.js'

const store = createStore(reducer)

const app = (
  <Provider store={store}>
    <App />
  </Provider>
)

render(app, document.getElementById('container'))
