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> <p>
<strong>{subtitle}</strong> <strong>{subtitle}</strong>
</p> </p>
{error !== null && ( {error !== null &&
(error === "Error: No valid authentication data provided." ? (
<p>Redirecting you to MyRadio, please wait...</p>
) : (
<> <>
<p> <p>
<strong>Failed!</strong> Please tell Computing Team that something <strong>Failed!</strong> Please tell Computing Team that
broke. something broke.
</p> </p>
<p> <p>
<code>{error}</code> <code>{error}</code>
</p> </p>
</> </>
)} ))}
</span> </span>
</div> </div>
); );