19 lines
595 B
TypeScript
19 lines
595 B
TypeScript
import { Routes, Route } from "react-router-dom";
|
|
import AppShell from "./components/shared/AppShell";
|
|
import DashboardView from "./routes/DashboardView";
|
|
import EditorView from "./routes/EditorView";
|
|
import GraphView from "./routes/GraphView";
|
|
|
|
export default function App() {
|
|
return (
|
|
<AppShell>
|
|
<Routes>
|
|
<Route path="/" element={<DashboardView />} />
|
|
<Route path="/editor/new" element={<EditorView />} />
|
|
<Route path="/editor/:name" element={<EditorView />} />
|
|
<Route path="/graph" element={<GraphView />} />
|
|
</Routes>
|
|
</AppShell>
|
|
);
|
|
}
|