text: const transitionDelay = 1300;
  
  exports.shouldUpdateScroll = ({
    routerProps: { location },
    getSavedScrollPosition,
  }) => {
    if (location.action === "PUSH") {
      window.setTimeout(() => window.scrollTo(0, 0), transitionDelay);
    } else {
      const savedPosition = getSavedScrollPosition(location);
      window.setTimeout(
        () => window.scrollTo(...(savedPosition || [0, 0])),
        transitionDelay,
      );
    }
    return false;
  };
  