diff options
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/reports/components/Graph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/components/Graph.js b/modern/src/reports/components/Graph.js index 6620b3d0..2a95ba96 100644 --- a/modern/src/reports/components/Graph.js +++ b/modern/src/reports/components/Graph.js @@ -25,7 +25,7 @@ const useStyles = makeStyles((theme) => ({ const Graph = ({ type, items }) => { const classes = useStyles(); - + return ( <ResponsiveContainer height={400} width="100%" debounce={1} className={classes.chart}> <LineChart data={items}> @@ -37,7 +37,7 @@ const Graph = ({ type, items }) => { <Line type="natural" dataKey={type} /> </LineChart> </ResponsiveContainer> - ) + ); }; export default withWidth()(Graph); |