{authErrorContent(authError, t)}
,
document.body,
);
}
function authErrorContent(authError: string, t: TFunction) {
switch (authError) {
case "aborted":
return t("auth.errors.discordPermissions");
case "discordOverloaded":
return (
<>
{t("auth.errors.discordOverloaded")}{" "}