mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Remove redundant button loading style
This commit is contained in:
parent
fb51e3c463
commit
7c16e0964a
|
|
@ -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"];
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user