import { auth, SIGN_IN_PATH } from "@/auth";
import { getUserByEmail } from "@/db/users";
import type { Metadata } from "next";
import { redirect } from "next/navigation";
import { connection } from "next/server";
import { Suspense } from "react";
import { AuthShell } from "../_components/auth-shell";
import { signOutToHome } from "./actions";
export const metadata: Metadata = {
title: "Account — SchemaTax",
robots: { index: false, follow: false },
};
const dateTime = new Intl.DateTimeFormat("en-US", {
dateStyle: "long",
timeStyle: "short",
timeZone: "UTC",
});
const date = new Intl.DateTimeFormat("en-US", {
dateStyle: "long",
timeZone: "UTC",
});
export default function AccountPage() {
return (
Your account