diff --git a/app/routes/hammer.tsx b/app/routes/hammer.tsx
index 869a5ec..9c388ec 100644
--- a/app/routes/hammer.tsx
+++ b/app/routes/hammer.tsx
@@ -16,7 +16,7 @@ import {
Stack,
StackDivider,
Text,
- useToast,
+ useToast
} from "@chakra-ui/react";
import { type FormEvent, type ReactElement, useState } from "react";
@@ -25,7 +25,7 @@ export async function loader({ context }: { context: RequestContext }) {
if (!currentUser)
throw new Response(null, {
- status: 401,
+ status: 401
});
if (
@@ -33,7 +33,7 @@ export async function loader({ context }: { context: RequestContext }) {
!(currentUser.permissions & (1 << 8))
)
throw new Response(null, {
- status: 403,
+ status: 403
});
return null;
@@ -43,7 +43,7 @@ export function meta() {
return [{ title: "Hammer - Car Crushers" }];
}
-export default function () {
+export default function() {
const [username, setUsername] = useState("");
const [uid, setUid] = useState("");
const [status, setStatus] = useState("");
@@ -64,7 +64,7 @@ export default function () {
return toast({
title: "Validation Error",
description: `Username is too short`,
- status: "error",
+ status: "error"
});
}
@@ -77,13 +77,13 @@ export default function () {
description: `${
((await historyResp.json()) as { error: string }).error
}`,
- status: "error",
+ status: "error"
});
}
const {
history,
- user,
+ user
}: {
history: { [k: string]: any }[];
user: { avatar: string | null; id: number; name: string };
@@ -95,7 +95,7 @@ export default function () {
return toast({
title: "Nothing Found",
description: "This user doesn't have any moderation history.",
- status: "info",
+ status: "info"
});
}
@@ -123,7 +123,7 @@ export default function () {