page.tsx 418 B

123456789101112131415161718192021
  1. import { Analytics } from "@vercel/analytics/react";
  2. import { Home } from "./components/home";
  3. import { getServerSideConfig } from "./config/server";
  4. import { SdDbInit } from "@/app/store/sd";
  5. const serverConfig = getServerSideConfig();
  6. export default async function App() {
  7. return (
  8. <>
  9. <Home />
  10. {serverConfig?.isVercel && (
  11. <>
  12. <Analytics />
  13. </>
  14. )}
  15. </>
  16. );
  17. }