Merge pull request #5038 from Infisical/fix/admin-account-signup-loader-layout

fix(style): fix blank screen after admin account signup
This commit is contained in:
Victor Hugo dos Santos
2025-12-15 12:55:40 -03:00
committed by GitHub

View File

@@ -62,7 +62,13 @@ export const SignUpPage = () => {
navigate({ to: "/admin" });
};
if (config?.initialized) return <ContentLoader text="Redirecting to admin page..." />;
if (config?.initialized) {
return (
<div className="flex min-h-screen flex-col justify-center bg-linear-to-tr from-mineshaft-600 via-mineshaft-800 to-bunker-700">
<ContentLoader text="Redirecting to admin page..." />
</div>
);
}
return (
<div className="flex max-h-screen min-h-screen flex-col justify-center overflow-y-auto bg-linear-to-tr from-mineshaft-600 via-mineshaft-800 to-bunker-700 px-6">