Scheduling infrastructure for absolutely everyone.
mv `ONBOARDING_INTRODUCED_AT` to new file (#557)
Alex Johansson8eaa94d3c194
diff --git a/lib/getting-started.tsx b/lib/getting-started.tsxnew file mode 100644index 00000000000..e652b0d2844--- /dev/null+++ b/lib/getting-started.tsx@@ -0,0 +1,3 @@+import dayjs from "dayjs";++export const ONBOARDING_INTRODUCED_AT = dayjs("September 1 2021").toISOString();diff --git a/pages/event-types/index.tsx b/pages/event-types/index.tsxindex 2473a2e6c94..1ba1d32e66e 100644--- a/pages/event-types/index.tsx+++ b/pages/event-types/index.tsx@@ -24,7 +24,7 @@ import prisma from "@lib/prisma";import { GetServerSidePropsContext, InferGetServerSidePropsType } from "next";import { useMutation } from "react-query";import createEventType from "@lib/mutations/event-types/create-event-type";-import { ONBOARDING_INTRODUCED_AT } from "../getting-started";+import { ONBOARDING_INTRODUCED_AT } from "@lib/getting-started";const EventTypesPage = (props: InferGetServerSidePropsType<typeof getServerSideProps>) => {const { user, types } = props;diff --git a/pages/getting-started.tsx b/pages/getting-started.tsxindex 4ca0f931771..32eb0aad43f 100644--- a/pages/getting-started.tsx+++ b/pages/getting-started.tsx@@ -50,8 +50,6 @@ const DEFAULT_EVENT_TYPES = [},];-export const ONBOARDING_INTRODUCED_AT = dayjs("September 1 2021").toISOString();-type OnboardingProps = {user: User;integrations?: Record<string, string>[];