replace loader with spinner

This commit is contained in:
Scott Wilson
2024-11-20 14:09:26 -08:00
parent 9d618b4ae9
commit 7b3b232dde
@@ -11,11 +11,11 @@ import { TtlFormLabel } from "@app/components/features";
import { createNotification } from "@app/components/notifications"; import { createNotification } from "@app/components/notifications";
import { import {
Button, Button,
ContentLoader,
FormControl, FormControl,
IconButton, IconButton,
Input, Input,
SecretInput, SecretInput,
Spinner,
Tooltip Tooltip
} from "@app/components/v2"; } from "@app/components/v2";
import { useTimedReset, useToggle } from "@app/hooks"; import { useTimedReset, useToggle } from "@app/hooks";
@@ -420,7 +420,7 @@ export const CreateDynamicSecretLease = ({
const isOutputMode = Boolean(createDynamicSecretLease?.data); const isOutputMode = Boolean(createDynamicSecretLease?.data);
if (isPreloading) { if (isPreloading) {
return <ContentLoader className="h-40" />; return <Spinner className="mx-auto h-40 text-mineshaft-700" />;
} }
return ( return (