Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
corrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
Coder2195Text committed Nov 20, 2022
1 parent 28549d9 commit 8903197
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ export default function Form() {
setErrors("Please give a match description");
return;
}
if (data?.discordTag == "undefined#undefined") {
setErrors(
"Your login might be corrupted. Log out and back in. Reason: Username was undefined#undefined"
);
return;
}
setSubmitting(true);
fetch("/api/upsert", {
method: "POST",
Expand Down

1 comment on commit 8903197

@vercel
Copy link

@vercel vercel bot commented on 8903197 Nov 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.