tubearchivist-frontend/app/routes/logout.tsx

7 lines
193 B
TypeScript
Raw Normal View History

import type { LoaderArgs } from "@remix-run/server-runtime";
import { logout } from "~/session.server";
export const loader = async ({ request }: LoaderArgs) => {
return logout(request);
};