diff --git a/app/(app)/article/[key]/layout.tsx b/app/(app)/article/[key]/layout.tsx index 80ce656..9343014 100644 --- a/app/(app)/article/[key]/layout.tsx +++ b/app/(app)/article/[key]/layout.tsx @@ -27,6 +27,10 @@ export default function ModalLayout(props: { {props[30311]} ); + } else if (kind === 31923 || kind === 31922) { + return redirect(`/event/${key}`); + } else if (kind === 31924) { + return redirect(`/calendar/${key}`); } } else if (type === "note") { return (