mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
import { isLighthouseConfigured } from "@/actions/lighthouse/lighthouse";
|
|
|
|
import { LighthouseBannerClient } from "./banner-client";
|
|
|
|
export const LighthouseBanner = async () => {
|
|
try {
|
|
const isConfigured = await isLighthouseConfigured();
|
|
|
|
return <LighthouseBannerClient isConfigured={isConfigured} />;
|
|
} catch (error) {
|
|
return null;
|
|
}
|
|
};
|