MCPcopy
hub / github.com/antvis/Infographic / handleRenderError

Function handleRenderError

site/src/components/Gallery/DetailPage.tsx:83–85  ·  view source on GitHub ↗
(err: Error | null)

Source from the content-addressed store, hash-verified

81 };
82
83 const handleRenderError = (err: Error | null) => {
84 setError(err ? detailTexts.errors.render(err.message) : null);
85 };
86
87 return (
88 <div className="h-[calc(100vh-64px)] w-full bg-wash dark:bg-gray-95 flex overflow-hidden text-primary dark:text-primary-dark">

Callers

nothing calls this directly

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected