export function oldState(state: FullStateWithRouter, route: string) {
  return state.routing.routes.routes[route].state
}