Remove redundant button loading style

This commit is contained in:
Kalle 2025-06-14 09:40:12 +03:00
parent fb51e3c463
commit 7c16e0964a
2 changed files with 3 additions and 10 deletions

View File

@ -1,6 +1,6 @@
export const ADMIN_DISCORD_ID = "79237403620945920";
export const ADMIN_ID = process.env.NODE_ENV === "test" ? 1 : 274;
// Panda Scep
export const STAFF_IDS = [11329, 9719];
// Panda Scep Acing
export const STAFF_IDS = [11329, 9719, 9342];
export const STAFF_DISCORD_IDS = ["138757634500067328", "184478601171828737"];

View File

@ -165,13 +165,6 @@ function MigrateUser() {
const navigation = useNavigation();
const fetcher = useFetcher();
const submitButtonText =
navigation.state === "submitting"
? "Migrating..."
: navigation.state === "loading"
? "Migrated!"
: "Migrate";
return (
<fetcher.Form className="stack md" method="post">
<h2>Migrate user data</h2>
@ -194,7 +187,7 @@ function MigrateUser() {
_action="MIGRATE"
state={fetcher.state}
>
{submitButtonText}
Migrate
</SubmitButton>
</div>
</fetcher.Form>