MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / handleImageError

Function handleImageError

src/components/common/EntityLogo.tsx:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 const [imageError, setImageError] = useState<boolean>(false);
15
16 const handleImageError = () => {
17 setImageError(true);
18 };
19
20 const handleImageLoad = () => {
21 setImageError(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected