summaryrefslogtreecommitdiff
path: root/src/pages/login.tsx
blob: d70d365d8bf64c7dacbd20244883c6a90c6c3bbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
};