From 10d3a126aa3c1e386c3c05d8bceb7e239f9d70a9 Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Thu, 22 Sep 2022 10:59:15 +0530 Subject: [PATCH] fix: skeleton loader issue in settings/api-keys (#4634) * fix: skeleton loader issue * fix: simplify logic Co-authored-by: Peer Richelsen --- apps/web/pages/v2/settings/developer/api-keys.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/pages/v2/settings/developer/api-keys.tsx b/apps/web/pages/v2/settings/developer/api-keys.tsx index ab5594b81e..164ad1c2a4 100644 --- a/apps/web/pages/v2/settings/developer/api-keys.tsx +++ b/apps/web/pages/v2/settings/developer/api-keys.tsx @@ -45,10 +45,10 @@ const ApiKeysView = () => { <> {isLoading && }
- {data?.length ? ( + {isLoading ? null : data?.length ? ( <>
- {data?.map((apiKey, index) => ( + {data.map((apiKey, index) => (