added neon auth
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { AuthView } from "@neondatabase/auth/react";
|
||||
|
||||
export const dynamicParams = false;
|
||||
|
||||
export default async function AuthPage({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ path: string }>;
|
||||
}) {
|
||||
const { path } = await params;
|
||||
|
||||
return (
|
||||
<main className="container mx-auto flex grow flex-col items-center justify-center gap-3 self-center p-4 md:p-6">
|
||||
<AuthView path={path} />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user