From 18308a22879dc9143a03bcbe53cf0c5e8e49ee1f Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sat, 27 Jul 2024 01:17:37 +0900
Subject: remix

---
 frontend/src/main.tsx | 53 ---------------------------------------------------
 1 file changed, 53 deletions(-)
 delete mode 100644 frontend/src/main.tsx

(limited to 'frontend/src/main.tsx')

diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
deleted file mode 100644
index 52b0c29..0000000
--- a/frontend/src/main.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-import React from "react";
-import ReactDOM from "react-dom/client";
-import { createBrowserRouter, RouterProvider } from "react-router-dom";
-import Home from "./routes/Home.tsx";
-import Login, { loginAction } from "./routes/Login.tsx";
-import GolfEntry from "./routes/golf/GolfEntry.tsx";
-import GolfPlay from "./routes/golf/GolfPlay.tsx";
-import GolfWatch from "./routes/golf/GolfWatch.tsx";
-import UserEdit from "./routes/users/Edit.tsx";
-import TeamNew from "./routes/teams/New.tsx";
-import TeamEdit from "./routes/teams/Edit.tsx";
-
-const router = createBrowserRouter([
-  {
-    path: "/",
-    element: <Home />,
-  },
-  {
-    path: "/login/",
-    element: <Login />,
-    action: loginAction,
-  },
-  {
-    path: "/users/:userId/",
-    element: <UserEdit />,
-  },
-  {
-    path: "/teams/new/",
-    element: <TeamNew />,
-  },
-  {
-    path: "/teams/:teamId/",
-    element: <TeamEdit />,
-  },
-  {
-    path: "/golf/entry/",
-    element: <GolfEntry />,
-  },
-  {
-    path: "/golf/:gameId/play/:playerId/",
-    element: <GolfPlay />,
-  },
-  {
-    path: "/golf/:gameId/watch/",
-    element: <GolfWatch />,
-  },
-]);
-
-ReactDOM.createRoot(document.getElementById("root")!).render(
-  <React.StrictMode>
-    <RouterProvider router={router} />
-  </React.StrictMode>,
-);
-- 
cgit v1.2.3-70-g09d2

