diff --git a/src/client/components/SiteIcon.tsx b/src/client/components/SiteIcon.tsx new file mode 100644 index 0000000..6e448f2 --- /dev/null +++ b/src/client/components/SiteIcon.tsx @@ -0,0 +1,23 @@ +import { Database } from "lucide-react"; +import { useState } from "react"; + +type SiteIconProps = { + monitorId: number; +}; + +export function SiteIcon({ monitorId }: SiteIconProps) { + const [failed, setFailed] = useState(false); + + if (failed) return