Slightly friendlier loading screen

This commit is contained in:
Marks Polakovs 2021-02-15 11:10:55 +00:00
parent 71c1138d34
commit bac2b3bae5

View file

@ -347,17 +347,20 @@ export function LoadingDialogue({
<p>
<strong>{subtitle}</strong>
</p>
{error !== null && (
{error !== null &&
(error === "Error: No valid authentication data provided." ? (
<p>Redirecting you to MyRadio, please wait...</p>
) : (
<>
<p>
<strong>Failed!</strong> Please tell Computing Team that something
broke.
<strong>Failed!</strong> Please tell Computing Team that
something broke.
</p>
<p>
<code>{error}</code>
</p>
</>
)}
))}
</span>
</div>
);