<commit_before>import React from 'react';
import { Provider } from 'react-redux';
import { Redirect, Route, BrowserRouter as Router } from 'react-router-dom';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import injectTapEventPlugin from 'react-tap-event-plugin';
import { blue500, green800 } from 'material-ui/styles/colors';

import store from './store';
import Sidebar from './Sidebar/Sidebar';
import FABContainer from './FAB/FABContainer';
import TaskListContainer from './Task/TaskListContainer';
import IdeaListContainer from './Idea/IdeaListContainer';
import SettingsContainer from './Settings/SettingsContainer';
import About from './About/About';

import { update } from './lib/database';

import './App.css';

injectTapEventPlugin();

const App = () => {
  const muiTheme = getMuiTheme({
    palette: {
      primary1Color: blue500,
    },
    datePicker: {
      selectColor: green800,
    },
  });
  store.subscribe(() => {
    update(store.getState());
  });
  return (
    <Provider store={store}>
      <Router>
        <MuiThemeProvider muiTheme={muiTheme}>
          <div className="App">
            <Sidebar />
            <FABContainer />
            <Redirect from="/" to="tasks" />
            <Route path="/tasks" component={TaskListContainer} />
            <Route path="/ideas" component={IdeaListContainer} />
            <Route path="/settings" component={SettingsContainer} />
            <Route path="/about" component={About} />
          </div>
        </MuiThemeProvider>
      </Router>
    </Provider>
  );
};

export default App;<commit_msg>Update snack bar action color<commit_after>import React from 'react';
import { Provider } from 'react-redux';
import { Redirect, Route, BrowserRouter as Router } from 'react-router-dom';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import injectTapEventPlugin from 'react-tap-event-plugin';
import { blue500, green800, pink300 } from 'material-ui/styles/colors';

import store from './store';
import Sidebar from './Sidebar/Sidebar';
import FABContainer from './FAB/FABContainer';
import TaskListContainer from './Task/TaskListContainer';
import IdeaListContainer from './Idea/IdeaListContainer';
import SettingsContainer from './Settings/SettingsContainer';
import About from './About/About';

import { update } from './lib/database';

import './App.css';

injectTapEventPlugin();

const App = () => {
  const muiTheme = getMuiTheme({
    palette: {
      primary1Color: blue500,
    },
    datePicker: {
      selectColor: green800,
    },
    snackbar: {
      actionColor: pink300,
    },
  });
  store.subscribe(() => {
    update(store.getState());
  });
  return (
    <Provider store={store}>
      <Router>
        <MuiThemeProvider muiTheme={muiTheme}>
          <div className="App">
            <Sidebar />
            <FABContainer />
            <Redirect from="/" to="tasks" />
            <Route path="/tasks" component={TaskListContainer} />
            <Route path="/ideas" component={IdeaListContainer} />
            <Route path="/settings" component={SettingsContainer} />
            <Route path="/about" component={About} />
          </div>
        </MuiThemeProvider>
      </Router>
    </Provider>
  );
};

export default App;
{'fraction_non_alphanumeric': 0.14180424528301888, 'fraction_numerical': 0.009433962264150943, 'mean_word_length': 3.1940667490729298, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5172190', 'n_tokens_mistral': 997, 'n_tokens_neox': 962, 'n_words': 233}