import LoginForm from "@/components/auth/login-form"; import { auth } from "@/lib/auth"; import { headers } from "next/headers"; import Image from "next/image"; import { redirect } from "next/navigation"; import React from "react"; export default async function LoginPage() { const session = await auth.api.getSession({ headers: await headers(), }); if (session) { return redirect("/devices"); } return (
Pay for your devices and track your bills.