Removes weird code
@@ -310,22 +310,3 @@ export function addConstParams(params, paramsInState) {
);
return currentConstParams.merge(params).toJS();
}
-
-/**
- * As we have configured our router to keep parameters unchanged,
- * that aren't mentioned in the `stateGo`-calls, you can use this
- * function to reset all parameters not mentioned in the arguments
- * and set those to their values.
- * @param params: object with params that should be placed
- * in the url.
- */
-//export function makeParams(params) {
-// const currentParams = getState().getIn(['router', 'currentParams']);
-// const currentConstParams = Immutable.Map(
-// constantParams.map(p => [p, currentParams.get(p)]) // [ [ paramName, paramValue] ]
-// );
-// return Immutable.Map().merge(params).merge(currentConstParams).toJS();
-// //let resetParamsCopy = Object.assign({}, resetParams);
-// //return Object.assign(resetParamsCopy, params);
-//}
-export const makeParams = undefined;
