From 95d3328cda9cdd36b43839f2a31c22d2ae973856 Mon Sep 17 00:00:00 2001 From: Jared He <66887902+jaredjhe@users.noreply.github.com> Date: Thu, 26 Aug 2021 19:15:02 -0500 Subject: [PATCH] Use relative link --- lib/events.ts | 2 +- tsconfig.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/events.ts b/lib/events.ts index 5246f02f..ac89237b 100644 --- a/lib/events.ts +++ b/lib/events.ts @@ -5,7 +5,7 @@ import matter from "gray-matter"; import { MDXRemoteSerializeResult } from "next-mdx-remote"; import { serialize } from "next-mdx-remote/serialize"; -import type { Props } from "@/pages/events/[year]/[term]/index"; +import type { Props } from "../pages/events/[year]/[term]/index"; const EVENTS_PATH = path.join("content", "events"); export const TERMS = ["winter", "spring", "fall"]; diff --git a/tsconfig.json b/tsconfig.json index 5cdd8812..d886e684 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,8 +23,7 @@ "paths": { "@/components/*": ["components/*"], "@/lib/*": ["lib/*"], - "@/hooks/*": ["hooks/*"], - "@/pages/*": ["pages/*"] + "@/hooks/*": ["hooks/*"] } }, "include": ["next-env.d.ts", "types.d.ts", "**/*.ts", "**/*.tsx"],