From bac2b3bae5f695e612a485062e7eadd1d4824373 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Mon, 15 Feb 2021 11:10:55 +0000 Subject: [PATCH] Slightly friendlier loading screen --- src/showplanner/index.tsx | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/showplanner/index.tsx b/src/showplanner/index.tsx index 6733da1..c15522e 100644 --- a/src/showplanner/index.tsx +++ b/src/showplanner/index.tsx @@ -347,17 +347,20 @@ export function LoadingDialogue({

{subtitle}

- {error !== null && ( - <> -

- Failed! Please tell Computing Team that something - broke. -

-

- {error} -

- - )} + {error !== null && + (error === "Error: No valid authentication data provided." ? ( +

Redirecting you to MyRadio, please wait...

+ ) : ( + <> +

+ Failed! Please tell Computing Team that + something broke. +

+

+ {error} +

+ + ))} );