AT-based link agregator. Mirror of https://github.com/likeandscribe/frontpage

bring naming in line with login_lib forms and actions (#322)

authored by

Damien and committed by
GitHub
cf42ce57 e109fa6c

+2 -2
packages/frontpage/app/(auth)/reauthenticate/_lib/reauthenticate-action.ts packages/frontpage/app/(auth)/reauthenticate/_lib/action.ts
+1 -1
packages/frontpage/app/(auth)/reauthenticate/_lib/reauthenticate-form.tsx packages/frontpage/app/(auth)/reauthenticate/_lib/form.tsx
··· 1 1 "use client"; 2 2 3 3 import { type ReactNode, useActionState } from "react"; 4 - import { reauthenticateAction } from "./reauthenticate-action"; 4 + import { reauthenticateAction } from "./action"; 5 5 import { Button } from "@/lib/components/ui/button"; 6 6 import { Alert, AlertDescription, AlertTitle } from "@/lib/components/ui/alert"; 7 7 import { CrossCircledIcon } from "@radix-ui/react-icons";
+1 -1
packages/frontpage/app/(auth)/reauthenticate/page.tsx
··· 1 1 import { getSession, signOut } from "@/lib/auth"; 2 2 import { AUTH_SCOPES } from "@repo/frontpage-oauth"; 3 3 import { redirect } from "next/navigation"; 4 - import { ReauthenticateForm } from "./_lib/reauthenticate-form"; 4 + import { ReauthenticateForm } from "./_lib/form"; 5 5 import { Button } from "@/lib/components/ui/button"; 6 6 import { revalidatePath } from "next/cache"; 7 7 import { UserAvatar } from "@/lib/components/user-avatar";