diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 14:06:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 14:06:21 -0700 |
commit | 3ad1ca72cabbf2294d06e4d7891abf889a0b7a62 (patch) | |
tree | 5f87c17bc65880bbf96b68ae5191eb5be8f4f515 /modern/src/reports/components/Graph.js | |
parent | 45790d7fe3f9a8e10f8d8620f8078356ea1b122c (diff) | |
download | trackermap-web-3ad1ca72cabbf2294d06e4d7891abf889a0b7a62.tar.gz trackermap-web-3ad1ca72cabbf2294d06e4d7891abf889a0b7a62.tar.bz2 trackermap-web-3ad1ca72cabbf2294d06e4d7891abf889a0b7a62.zip |
Fix style issues
Diffstat (limited to 'modern/src/reports/components/Graph.js')
-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); |