From 14bbc483fdb338c8e55e77f267ecf0d51415549b Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Mon, 22 Jul 2024 04:44:31 +0900
Subject: prettier

---
 frontend/src/main.tsx | 45 +++++++++++++++++++++------------------------
 1 file changed, 21 insertions(+), 24 deletions(-)

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

diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
index 6019704..52b0c29 100644
--- a/frontend/src/main.tsx
+++ b/frontend/src/main.tsx
@@ -1,56 +1,53 @@
-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';
+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 />),
+    element: <Home />,
   },
   {
     path: "/login/",
-    element: (<Login />),
+    element: <Login />,
     action: loginAction,
   },
   {
     path: "/users/:userId/",
-    element: (<UserEdit />),
+    element: <UserEdit />,
   },
   {
     path: "/teams/new/",
-    element: (<TeamNew />),
+    element: <TeamNew />,
   },
   {
     path: "/teams/:teamId/",
-    element: (<TeamEdit />),
+    element: <TeamEdit />,
   },
   {
     path: "/golf/entry/",
-    element: (<GolfEntry />),
+    element: <GolfEntry />,
   },
   {
     path: "/golf/:gameId/play/:playerId/",
-    element: (<GolfPlay />),
+    element: <GolfPlay />,
   },
   {
     path: "/golf/:gameId/watch/",
-    element: (<GolfWatch />),
+    element: <GolfWatch />,
   },
 ]);
 
-ReactDOM.createRoot(document.getElementById('root')!).render(
+ReactDOM.createRoot(document.getElementById("root")!).render(
   <React.StrictMode>
     <RouterProvider router={router} />
   </React.StrictMode>,
-)
+);
-- 
cgit v1.2.3-70-g09d2

