aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-18 01:44:10 +0900
committernsfisis <nsfisis@gmail.com>2024-08-18 01:46:02 +0900
commit9bd1f89febe6311781aca3e8ee2b6a706a606e3c (patch)
treede82ed4ae74c75ba7ddf9e478cb6129177ee4c89 /frontend
parent3e63c4baf62a9d383a5c62afee9b01684830bba9 (diff)
downloadiosdc-japan-2024-albatross-9bd1f89febe6311781aca3e8ee2b6a706a606e3c.tar.gz
iosdc-japan-2024-albatross-9bd1f89febe6311781aca3e8ee2b6a706a606e3c.tar.zst
iosdc-japan-2024-albatross-9bd1f89febe6311781aca3e8ee2b6a706a606e3c.zip
fix(frontend): fix an issue where loading icon does not rotate
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/components/Gaming/SubmitResult.tsx4
-rw-r--r--frontend/app/root.tsx1
-rw-r--r--frontend/app/routes/_index.tsx1
3 files changed, 2 insertions, 4 deletions
diff --git a/frontend/app/components/Gaming/SubmitResult.tsx b/frontend/app/components/Gaming/SubmitResult.tsx
index ae83e92..5b08ef1 100644
--- a/frontend/app/components/Gaming/SubmitResult.tsx
+++ b/frontend/app/components/Gaming/SubmitResult.tsx
@@ -24,9 +24,7 @@ export default function SubmitResult({ result, submitButton }: Props) {
{result.execResults.map((r, idx) => (
<li key={r.testcase_id ?? -1} className="flex gap-2">
<div className="flex flex-col gap-2 p-2">
- <div className="w-6">
- <ExecStatusIndicatorIcon status={r.status} />
- </div>
+ <ExecStatusIndicatorIcon status={r.status} />
{idx !== result.execResults.length - 1 && (
<div>
<FontAwesomeIcon
diff --git a/frontend/app/root.tsx b/frontend/app/root.tsx
index 7924ce7..c05020c 100644
--- a/frontend/app/root.tsx
+++ b/frontend/app/root.tsx
@@ -1,4 +1,5 @@
import { config } from "@fortawesome/fontawesome-svg-core";
+import "@fortawesome/fontawesome-svg-core/styles.css";
import type { LinksFunction } from "@remix-run/node";
import {
Links,
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index 24fff9f..baa3909 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -1,5 +1,4 @@
import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node";
-import "@fortawesome/fontawesome-svg-core/styles.css";
import { ensureUserNotLoggedIn } from "../.server/auth";
import BorderedContainer from "../components/BorderedContainer";
import NavigateLink from "../components/NavigateLink";