← Files DataARCHIVED FILE

templates/data-app/base/src/App.jsx

566 Bytes · Sep 30, 2026 · 23:19 UTC

↓ Download file

import React from "react";

import reviewedSnapshot from "./data.json";
import { DataAppRuntime } from "./DataAppRuntime.jsx";
import { DashboardContent } from "./content/dashboard/DashboardContent.jsx";
import { ReportContent } from "./content/report/ReportContent.jsx";

export function App({ hosted = globalThis.location?.hostname.endsWith(".chatgpt.site") ?? false } = {}) {
  return (
    <DataAppRuntime
      reviewedSnapshot={reviewedSnapshot}
      DashboardContent={DashboardContent}
      ReportContent={ReportContent}
      hosted={hosted}
    />
  );
}

SHA-256: 2f4b8f28c24ee9498c8de670a7f9c7fb79a584c67f67d88b782ec301838cc54b