From 7b3b232dde569937a59357ce20f258046caba99c Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Wed, 20 Nov 2024 14:09:26 -0800 Subject: [PATCH] replace loader with spinner --- .../DynamicSecretListView/CreateDynamicSecretLease.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/SecretMainPage/components/DynamicSecretListView/CreateDynamicSecretLease.tsx b/frontend/src/views/SecretMainPage/components/DynamicSecretListView/CreateDynamicSecretLease.tsx index 84fe76c2e..902d157e8 100644 --- a/frontend/src/views/SecretMainPage/components/DynamicSecretListView/CreateDynamicSecretLease.tsx +++ b/frontend/src/views/SecretMainPage/components/DynamicSecretListView/CreateDynamicSecretLease.tsx @@ -11,11 +11,11 @@ import { TtlFormLabel } from "@app/components/features"; import { createNotification } from "@app/components/notifications"; import { Button, - ContentLoader, FormControl, IconButton, Input, SecretInput, + Spinner, Tooltip } from "@app/components/v2"; import { useTimedReset, useToggle } from "@app/hooks"; @@ -420,7 +420,7 @@ export const CreateDynamicSecretLease = ({ const isOutputMode = Boolean(createDynamicSecretLease?.data); if (isPreloading) { - return ; + return ; } return (