message: Check for window existing for SSR
diff: export default function isChromatic() {
  return !!(
  - window.navigator.userAgent.match(/Chromatic/) || window.location.href.match(/chromatic=true/)
  + typeof window !== "undefined" &&
  + (window.navigator.userAgent.match(/Chromatic/) ||
  + window.location.href.match(/chromatic=true/))
  );
  }
  