From 72c43cc44e24b10bc0ff069860286655f071ec49 Mon Sep 17 00:00:00 2001 From: Alex Johansson Date: Thu, 2 Sep 2021 18:26:21 +0200 Subject: [PATCH] mv `/getting_started` to `/getting-started` (#556) --- pages/event-types/index.tsx | 4 ++-- pages/{getting_started/index.tsx => getting-started.tsx} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename pages/{getting_started/index.tsx => getting-started.tsx} (99%) diff --git a/pages/event-types/index.tsx b/pages/event-types/index.tsx index 38d3a6fc..2473a2e6 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) => { 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 2b711c8e..4ca0f931 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";