diff --git a/interface/app/$libraryId/debug/cloud.tsx b/interface/app/$libraryId/debug/cloud.tsx index db11dfe30..0b66f41d5 100644 --- a/interface/app/$libraryId/debug/cloud.tsx +++ b/interface/app/$libraryId/debug/cloud.tsx @@ -24,12 +24,19 @@ export const Component = () => { const authSensitiveChild = () => { if (authState.status === 'loggedIn') return ; if (authState.status === 'notLoggedIn' || authState.status === 'loggingIn') - return ; + return ( +
+ +

To access cloud related features, please login

+ +
+
+ ); return null; }; - return
{authSensitiveChild()}
; + return
{authSensitiveChild()}
; }; const DataBox = tw.div`max-w-[300px] rounded-md border border-app-line/50 bg-app-lightBox/20 p-2`; @@ -50,7 +57,7 @@ function Authenticated() { return ( +
} @@ -62,7 +69,7 @@ function Authenticated() { ) : ( -
+
{cloudEnabled && (
-
- - {cloudLibraries - ?.sort((a, b) => { - if (a.uuid === library.uuid) return -1; - if (b.uuid === library.uuid) return 1; - return 0; - }) - .map((lib) => ( - - ))} -
); };