old_contents: import { createStore, combineReducers, applyMiddleware, compose } from "redux";
  import thunk from 'redux-thunk';
  import userReducer from "../containers/user/userReducer";
  import agreementReducer from "../containers/agreement/agreementReducer";
  import councilmeetingReducer from "../containers/councilmeeting/councilmeetingReducer";
  import graderReducer from "../containers/grader/graderReducer";
  
  //TODO: Comments in english
  //kaikki reducerit importataan jokaisen componentin omista kansioista, tässä kaksi esimerkkiä, miltä ne voivat näyttää
  //malli myöhempää käyttöä varten grappa1.0:sta: https://github.com/UniversityOfHelsinkiCS/grappa-frontend/blob/master/src/store.js
  //tutorial: https://github.com/happypoulp/redux-tutorial
  
  
  const combinedReducers = combineReducers({
      agreement: agreementReducer,
      user: userReducer,
      councilmeeting: councilmeetingReducer,
      grader: graderReducer
  });
  
  let store;
  if (process.env.REACT_APP_DEVTOOLS === '1') {
      store = createStore(
          combinedReducers,
          compose(applyMiddleware(thunk),
          window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()));
  } else {
      store = createStore(
          combinedReducers,
          applyMiddleware(thunk));
  }
  /*
  const store = createStore(
      combinedReducers,
      compose(applyMiddleware(thunk),
      window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()));
  */
  export default store;
  
new_contents: import { createStore, combineReducers, applyMiddleware, compose } from "redux";
  import thunk from 'redux-thunk';
  import userReducer from "../containers/user/userReducer";
  import agreementReducer from "../containers/agreement/agreementReducer";
  import councilmeetingReducer from "../containers/councilmeeting/councilmeetingReducer";
  import graderReducer from "../containers/grader/graderReducer";
  import thesisReducer from "../containers/thesis/thesisReducer";
  import studyfieldReducer from "../containers/studyfield/studyfieldReducer";
  import emailReducer from "../containers/email/emailReducer";
  
  //TODO: Comments in english
  //kaikki reducerit importataan jokaisen componentin omista kansioista, tässä kaksi esimerkkiä, miltä ne voivat näyttää
  //malli myöhempää käyttöä varten grappa1.0:sta: https://github.com/UniversityOfHelsinkiCS/grappa-frontend/blob/master/src/store.js
  //tutorial: https://github.com/happypoulp/redux-tutorial
  
  
  const combinedReducers = combineReducers({
      agreement: agreementReducer,
      user: userReducer,
      councilmeeting: councilmeetingReducer,
      grader: graderReducer,
      thesis: thesisReducer,
      studyfield: studyfieldReducer,
      email: emailReducer
  });
  
  let store;
  if (process.env.REACT_APP_DEVTOOLS === '1') {
      store = createStore(
          combinedReducers,
          compose(applyMiddleware(thunk),
          window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()));
  } else {
      store = createStore(
          combinedReducers,
          applyMiddleware(thunk));
  }
  /*
  const store = createStore(
      combinedReducers,
      compose(applyMiddleware(thunk),
      window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()));
  */
  export default store;
  
subject: add reducers