From 25fce771aed55433b183a44858a9cd5d2ec9e265 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Mon, 21 Oct 2024 03:16:43 -0400 Subject: [PATCH] Remove unused edit page --- app/routes/events-team_.edit-event_.$id.tsx | 22 --------------------- 1 file changed, 22 deletions(-) delete mode 100644 app/routes/events-team_.edit-event_.$id.tsx diff --git a/app/routes/events-team_.edit-event_.$id.tsx b/app/routes/events-team_.edit-event_.$id.tsx deleted file mode 100644 index ba75fcd..0000000 --- a/app/routes/events-team_.edit-event_.$id.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { Button, Container, Textarea } from "@chakra-ui/react"; -import { type LoaderFunctionArgs } from "@remix-run/cloudflare"; - -export function meta() { - return [ - { - title: "Edit Event" - } - ] -} - -export async function loader({ context, params }: { context: RequestContext, params: LoaderFunctionArgs & { id: string } }) { - const eventData = await context.env.D1.prepare("SELECT answer, created_by, day, details, month, year WHERE id = ?;").bind(params.id); - - if (!eventData) throw new Response(null, { - status: 404, - }); -} - -export default function () { - -} \ No newline at end of file