mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 07:26:45 +00:00
replace loader with spinner
This commit is contained in:
+2
-2
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user