From 8f34a0c6ff7d8b6870170ec903c48675e4419041 Mon Sep 17 00:00:00 2001 From: nael Date: Wed, 31 Jan 2024 03:11:32 +0100 Subject: [PATCH] :bug: Added fixes --- apps/webapp/src/App.tsx | 3 +-- apps/webapp/src/components/api-keys/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/webapp/src/App.tsx b/apps/webapp/src/App.tsx index 9033ff9b8..71e62d635 100644 --- a/apps/webapp/src/App.tsx +++ b/apps/webapp/src/App.tsx @@ -7,7 +7,6 @@ import TaskPage from './components/events/EventsTable'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { Toaster } from 'react-hot-toast'; import { RootLayout } from './components/root-layout'; -import QuickStartPage from './components/quickstart'; import ConfigurationPage from './components/configuration'; import ApiKeysPage from './components/api-keys'; import DashboardPage from './components/dashboard'; @@ -38,7 +37,7 @@ function App() { }> - } /> + } /> } /> } /> } /> diff --git a/apps/webapp/src/components/api-keys/index.tsx b/apps/webapp/src/components/api-keys/index.tsx index 866c4a3dc..187437c8d 100644 --- a/apps/webapp/src/components/api-keys/index.tsx +++ b/apps/webapp/src/components/api-keys/index.tsx @@ -30,9 +30,6 @@ export default function ApiKeysPage() { const {idProject} = useProjectStore(); const {profile} = useProfileStore(); - if(isLoading){ - return - } if(error){ console.log("error apiKeys.."); @@ -61,6 +58,7 @@ export default function ApiKeysPage() {

Manage your api keys.

+ {isLoading ? ( ) : <>
@@ -99,6 +97,8 @@ export default function ApiKeysPage() { + + }
{tsApiKeys && }