From ca378f6eeb132efb536f43f460bd0e3eba03e45c Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Sun, 19 May 2024 16:50:32 +0200 Subject: [PATCH] fix: actually unverify when editing --- src/components/app/BotForm/BotForm.tsx | 2 +- src/lib/actions.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/app/BotForm/BotForm.tsx b/src/components/app/BotForm/BotForm.tsx index 4cb7aed..82370b9 100644 --- a/src/components/app/BotForm/BotForm.tsx +++ b/src/components/app/BotForm/BotForm.tsx @@ -76,7 +76,7 @@ export default function BotForm(props: Props) { Warning When resubmitting, the bot will be unverified until the devteam verifies it again.{'\n'} - This doesn't apply when it's just regenerating the profile picture + This doesn't apply when regenerating the profile picture diff --git a/src/lib/actions.ts b/src/lib/actions.ts index 8f1bc47..7bdca7f 100644 --- a/src/lib/actions.ts +++ b/src/lib/actions.ts @@ -28,7 +28,10 @@ export async function submitBotData(prev: any, formData: FormData): Promise