Skip to content

Scheduling infrastructure for absolutely everyone.

mv `/getting_started` to `/getting-started` (#556)

Alex Johansson72c43cc44e24
diff --git a/pages/event-types/index.tsx b/pages/event-types/index.tsx
index 38d3a6fc3d3..2473a2e6c94 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/index";
+import { ONBOARDING_INTRODUCED_AT } from "../getting-started";
const EventTypesPage = (props: InferGetServerSidePropsType<typeof getServerSideProps>) => {
const { user, types } = props;
@@ -668,7 +668,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
return {
redirect: {
permanent: false,
- destination: "/getting_started",
+ destination: "/getting-started",
},
};
}
diff --git a/pages/getting_started/index.tsx b/pages/getting-started.tsx
similarity index 99%
rename from pages/getting_started/index.tsx
rename to pages/getting-started.tsx
index 2b711c8e047..4ca0f931771 100644
--- a/pages/getting_started/index.tsx
+++ b/pages/getting-started.tsx
@@ -27,7 +27,7 @@ import { Dialog, DialogClose, DialogContent, DialogHeader } from "@components/Di
import SchedulerForm, { SCHEDULE_FORM_ID } from "@components/ui/Schedule/Schedule";
import { useRouter } from "next/router";
import { Integration } from "pages/integrations";
-import { AddCalDavIntegrationRequest } from "../../lib/integrations/CalDav/components/AddCalDavIntegration";
+import { AddCalDavIntegrationRequest } from "../lib/integrations/CalDav/components/AddCalDavIntegration";
import classnames from "classnames";
import { ArrowRightIcon } from "@heroicons/react/outline";