summaryrefslogtreecommitdiff
path: root/src/App.tsx
blob: 9687afc3204ec9fdaa4f3291e45283033c29abe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Graph from "./components/Graph";
import { useCourseData } from "./hooks/useCourseData";

export default function App() {
  const catalog = useCourseData("/data/catalog_2025_fall.json");
  return (
    <>
      <h1 style={{ textAlign: "center" }}>UIUC Course Prerequisite Graph</h1>
      <Graph catalog={catalog} />
    </>
  );
}