From d5430776b5f9ce1d1b8dcf69fbbfebd976449fc4 Mon Sep 17 00:00:00 2001 From: Jordi Enric Date: Mon, 17 Feb 2025 14:32:55 +0100 Subject: [PATCH] missing } --- .../layouts/LogsLayout/LogsLayout.tsx | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx b/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx index 23c5c964f32..e94c8ca79f3 100644 --- a/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx +++ b/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx @@ -33,23 +33,24 @@ const LogsLayout = ({ title, children }: PropsWithChildren) => }, [router, setLastLogsPage]) if (!canUseLogsExplorer) { - if (isLoading) { - return - } + if (isLoading) { + return + } + + if (!isLoading && !canUseLogsExplorer) { + return ( + + + + ) + } - if (!isLoading && !canUseLogsExplorer) { return ( - - + }> + {children} ) } - - return ( - }> - {children} - - ) } -export default withAuth(LogsLayout) \ No newline at end of file +export default withAuth(LogsLayout)