export const getServerSideProps = wrapper.getServerSideProps(async context => {
  let name = context.query.name;
  name = name ? name.toString() : "";
  await context.store.dispatch<any>(getItem.action(encodeURI(name)));
  const state: AppState = context.store.getState();