fix(ui): no content message - path analysis

This commit is contained in:
Shekar Siri 2023-10-17 11:27:21 +02:00
parent 504f305cbe
commit ee05d89f13

View file

@ -61,15 +61,16 @@ function SankeyChart(props: Props) {
}, [activeLink]);
return (
<NoContent show={!(data && data.nodes && data.nodes.length && data.links)}>
<NoContent
style={{ paddingTop: '80px' }}
show={!(data && data.nodes && data.nodes.length && data.links)}
title={'No data for the selected time period.'}>
<ResponsiveContainer height={height} width='100%'>
<Sankey
data={data}
node={<CustomNode />}
nodeWidth={nodeWidth}
sort={false}
// linkCurvature={0.5}
// iterations={128}
margin={{
left: 0,
right: 200,