how we can handle No Data
# gd-beginners
g
how we can handle No Data
please reply
j
Hello Gaurav, you can use the
ErrorComponent
property to replace the "No Data" message with a custom component:
Copy code
<InsightView
    insight={…}
    ErrorComponent={(e) => {
        return <p>{JSON.stringify(e)}</p>
    }}
/>