diff options
Diffstat (limited to 'frontend/app/routes')
| -rw-r--r-- | frontend/app/routes/admin.games.tsx | 4 | ||||
| -rw-r--r-- | frontend/app/routes/admin.games_.$gameId.tsx | 6 | ||||
| -rw-r--r-- | frontend/app/routes/admin.tsx | 4 | ||||
| -rw-r--r-- | frontend/app/routes/admin.users.tsx | 2 | ||||
| -rw-r--r-- | frontend/app/routes/dashboard.tsx | 4 | ||||
| -rw-r--r-- | frontend/app/routes/golf.$gameId.play.tsx | 2 | ||||
| -rw-r--r-- | frontend/app/routes/golf.$gameId.watch.tsx | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/frontend/app/routes/admin.games.tsx b/frontend/app/routes/admin.games.tsx index 00a56d6..adba7f5 100644 --- a/frontend/app/routes/admin.games.tsx +++ b/frontend/app/routes/admin.games.tsx @@ -1,7 +1,7 @@ import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node"; -import { useLoaderData, Link } from "@remix-run/react"; -import { isAuthenticated } from "../.server/auth"; +import { Link, useLoaderData } from "@remix-run/react"; import { adminApiGetGames } from "../.server/api/client"; +import { isAuthenticated } from "../.server/auth"; export const meta: MetaFunction = () => { return [{ title: "[Admin] Games | iOSDC Japan 2024 Albatross.swift" }]; diff --git a/frontend/app/routes/admin.games_.$gameId.tsx b/frontend/app/routes/admin.games_.$gameId.tsx index 1ad8a2a..a7bd651 100644 --- a/frontend/app/routes/admin.games_.$gameId.tsx +++ b/frontend/app/routes/admin.games_.$gameId.tsx @@ -1,11 +1,11 @@ import type { + ActionFunctionArgs, LoaderFunctionArgs, MetaFunction, - ActionFunctionArgs, } from "@remix-run/node"; -import { useLoaderData, Form } from "@remix-run/react"; +import { Form, useLoaderData } from "@remix-run/react"; +import { adminApiGetGame, adminApiPutGame } from "../.server/api/client"; import { isAuthenticated } from "../.server/auth"; -import { adminApiPutGame, adminApiGetGame } from "../.server/api/client"; export const meta: MetaFunction<typeof loader> = ({ data }) => { return [ diff --git a/frontend/app/routes/admin.tsx b/frontend/app/routes/admin.tsx index 4bd96b1..2b05356 100644 --- a/frontend/app/routes/admin.tsx +++ b/frontend/app/routes/admin.tsx @@ -1,2 +1,2 @@ -import 'sakura.css/css/normalize.css'; -import 'sakura.css/css/sakura.css'; +import "sakura.css/css/normalize.css"; +import "sakura.css/css/sakura.css"; diff --git a/frontend/app/routes/admin.users.tsx b/frontend/app/routes/admin.users.tsx index c2e4cc7..8d9a8f2 100644 --- a/frontend/app/routes/admin.users.tsx +++ b/frontend/app/routes/admin.users.tsx @@ -1,7 +1,7 @@ import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node"; import { useLoaderData } from "@remix-run/react"; -import { isAuthenticated } from "../.server/auth"; import { adminApiGetUsers } from "../.server/api/client"; +import { isAuthenticated } from "../.server/auth"; export const meta: MetaFunction = () => { return [{ title: "[Admin] Users | iOSDC Japan 2024 Albatross.swift" }]; diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx index b93e5d1..1f80634 100644 --- a/frontend/app/routes/dashboard.tsx +++ b/frontend/app/routes/dashboard.tsx @@ -1,8 +1,8 @@ import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node"; import { redirect } from "@remix-run/node"; -import { Link, useLoaderData, Form } from "@remix-run/react"; -import { isAuthenticated } from "../.server/auth"; +import { Form, Link, useLoaderData } from "@remix-run/react"; import { apiGetGames } from "../.server/api/client"; +import { isAuthenticated } from "../.server/auth"; export const meta: MetaFunction = () => { return [{ title: "Dashboard | iOSDC Japan 2024 Albatross.swift" }]; diff --git a/frontend/app/routes/golf.$gameId.play.tsx b/frontend/app/routes/golf.$gameId.play.tsx index 248c4e4..0ce3353 100644 --- a/frontend/app/routes/golf.$gameId.play.tsx +++ b/frontend/app/routes/golf.$gameId.play.tsx @@ -1,8 +1,8 @@ import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node"; import { useLoaderData } from "@remix-run/react"; import { ClientOnly } from "remix-utils/client-only"; -import { isAuthenticated } from "../.server/auth"; import { apiGetGame, apiGetToken } from "../.server/api/client"; +import { isAuthenticated } from "../.server/auth"; import GolfPlayApp from "../components/GolfPlayApp.client"; import GolfPlayAppConnecting from "../components/GolfPlayApps/GolfPlayAppConnecting"; diff --git a/frontend/app/routes/golf.$gameId.watch.tsx b/frontend/app/routes/golf.$gameId.watch.tsx index 1a14e78..0f0e085 100644 --- a/frontend/app/routes/golf.$gameId.watch.tsx +++ b/frontend/app/routes/golf.$gameId.watch.tsx @@ -1,8 +1,8 @@ import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node"; import { useLoaderData } from "@remix-run/react"; import { ClientOnly } from "remix-utils/client-only"; -import { isAuthenticated } from "../.server/auth"; import { apiGetGame, apiGetToken } from "../.server/api/client"; +import { isAuthenticated } from "../.server/auth"; import GolfWatchApp from "../components/GolfWatchApp.client"; import GolfWatchAppConnecting from "../components/GolfWatchApps/GolfWatchAppConnecting"; |
