NextChat-U/app/page.tsx

21 lines
375 B
TypeScript
Raw Normal View History

2023-03-14 01:27:45 +09:00
import { Analytics } from "@vercel/analytics/react";
2023-04-02 22:56:34 +09:00
import { Home } from "./components/home";
2023-04-11 03:54:31 +09:00
import { getServerSideConfig } from "./config/server";
2023-04-11 02:21:34 +09:00
const serverConfig = getServerSideConfig();
2023-04-11 03:54:31 +09:00
export default async function App() {
2023-03-14 01:27:45 +09:00
return (
<>
<Home />
{serverConfig?.isVercel && (
<>
<Analytics />
</>
)}
2023-03-14 01:27:45 +09:00
</>
);
2023-03-08 00:23:54 +09:00
}