'use strict';

import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import injectTapEventPlugin from 'react-tap-event-plugin';

import Gallery from './components/Gallery';
import styles from './styles/index.css';
import {navigate} from './actions';
import store from './store';

// Needed for onTouchTap
// Can go away when react 1.0 release
// Check this repo:
// https://github.com/zilverline/react-tap-event-plugin
injectTapEventPlugin();


render(
  <Provider store={store}>
    <Gallery />
  </Provider>,
  document.getElementById('root')
);

store.dispatch(navigate('/'));
@@ -169,16 +169,84 @@
 plugin';
+%0Aimport MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
 %0A%0Aimport
@@ -320,24 +320,66 @@
 index.css';%0A
+import muiTheme from './styles/muiTheme';%0A
 import %7Bnavi
@@ -641,17 +641,86 @@
    %3C
-Gallery /
+MuiThemeProvider muiTheme=%7BmuiTheme%7D%3E%0A      %3CGallery /%3E%0A    %3C/MuiThemeProvider
 %3E%0A  
@@ -770,16 +770,16 @@
 t')%0A);%0A%0A
-
 store.di
@@ -800,8 +800,9 @@
 e('/'));
+%0A

fix mui theme