mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-01 06:44:56 +02:00
21 lines
410 B
TypeScript
21 lines
410 B
TypeScript
import { ReactLocation, Router } from "@tanstack/react-location";
|
|
|
|
import Home from "./pages/Home";
|
|
import Settings from "./pages/Settings";
|
|
|
|
const location = new ReactLocation();
|
|
|
|
function App() {
|
|
return (
|
|
<Router
|
|
location={location}
|
|
routes={[
|
|
{ path: "/", element: <Home /> },
|
|
{ path: "settings", element: <Settings /> },
|
|
]}
|
|
></Router>
|
|
);
|
|
}
|
|
|
|
export default App;
|