diff --git a/apps/user-app/app/api/auth/[...nextauth]/route.ts b/apps/user-app/app/api/auth/[...nextauth]/route.ts index 1cf7c68..636fea7 100644 --- a/apps/user-app/app/api/auth/[...nextauth]/route.ts +++ b/apps/user-app/app/api/auth/[...nextauth]/route.ts @@ -1,6 +1,8 @@ import NextAuth from "next-auth" import { authOptions } from "../../../lib/auth" + const handler = NextAuth(authOptions) + export { handler as GET, handler as POST } \ No newline at end of file diff --git a/apps/user-app/components/AddMoneyCard.tsx b/apps/user-app/components/AddMoneyCard.tsx index e9c202c..3ad87a7 100644 --- a/apps/user-app/components/AddMoneyCard.tsx +++ b/apps/user-app/components/AddMoneyCard.tsx @@ -7,6 +7,9 @@ import { useState } from "react"; import { TextInput } from "@repo/ui/textinput"; import { createOnRampTransaction } from "../app/lib/actions/createOnRamptxn"; + + + const SUPPORTED_BANKS = [{ name: "HDFC Bank", redirectUrl: "https://netbanking.hdfcbank.com" diff --git a/apps/user-app/components/AppbarClient.tsx b/apps/user-app/components/AppbarClient.tsx index 193ac45..738514d 100644 --- a/apps/user-app/components/AppbarClient.tsx +++ b/apps/user-app/components/AppbarClient.tsx @@ -3,6 +3,9 @@ import { signIn, signOut, useSession } from "next-auth/react"; import { Appbar } from "@repo/ui/appbar"; import { useRouter } from "next/navigation"; + + + export function AppbarClient() { const session = useSession(); const router = useRouter();