diff --git a/app/routes/_todos.$date.tsx b/app/routes/_todos.$date.tsx index 949d35c..5ead792 100644 --- a/app/routes/_todos.$date.tsx +++ b/app/routes/_todos.$date.tsx @@ -34,10 +34,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => { const todoPageListItems = await getTodoPageListItems({ userId, date: date }); - if (todoPageListItems) { - } return json({ todoPageListItems: todoPageListItems, dateInUrl: date }); - // return redirect(`/${params.date}`); }; export const action = async ({ params, request }: ActionFunctionArgs) => {