12 lines
245 B
TypeScript
12 lines
245 B
TypeScript
import type { LoaderFunction } from "@remix-run/node";
|
|
|
|
import { requireLoggedOut } from "~/utils/auth.server";
|
|
|
|
const loader: LoaderFunction = async ({ request }) => {
|
|
await requireLoggedOut(request);
|
|
|
|
return null;
|
|
};
|
|
|
|
export default loader;
|