import AuthScreen from "@/components/Login2";
import ProfileScreen from "@/components/Profile";
import { getContextData } from "waku/middleware/context";

export default async function AuthPage() {
  const ctx = getContextData();
  // console.log({ ctx });
  // if (ctx.user) return <ProfileScreen user={ctx.user as any} />;
  // else
  return (
    <div>
      <AuthScreen />
    </div>
  );
}
export const getConfig = async () => {
  return {
    render: "static",
  } as const;
};
