import { memo } from 'react' import { LazyMount } from '@app/components/lazy/lazymount' import { PageInsights } from '@app/types' import { Lighthouse } from '../../lighthouse' const LighthouseCardComonent = ({ insight, lighthouseVisible, }: { insight?: PageInsights lighthouseVisible?: boolean }) => { if (!lighthouseVisible) { return null } return (
) } export const LighthouseCard = memo(LighthouseCardComonent)