aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 14:18:00 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 14:18:00 -0700
commite9f85e4559b83bcca479969663ae6df80d97f803 (patch)
tree020f721d1cfee47564f8de4b5de8105d9002af19 /modern/src/reports/components
parent3ad1ca72cabbf2294d06e4d7891abf889a0b7a62 (diff)
downloadtrackermap-web-e9f85e4559b83bcca479969663ae6df80d97f803.tar.gz
trackermap-web-e9f85e4559b83bcca479969663ae6df80d97f803.tar.bz2
trackermap-web-e9f85e4559b83bcca479969663ae6df80d97f803.zip
Remove legacy code
Diffstat (limited to 'modern/src/reports/components')
-rw-r--r--modern/src/reports/components/Graph.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/components/Graph.js b/modern/src/reports/components/Graph.js
index 2a95ba96..88b51493 100644
--- a/modern/src/reports/components/Graph.js
+++ b/modern/src/reports/components/Graph.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { withWidth, makeStyles } from '@material-ui/core';
+import { makeStyles } from '@material-ui/core';
import {
LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer,
} from 'recharts';
@@ -40,4 +40,4 @@ const Graph = ({ type, items }) => {
);
};
-export default withWidth()(Graph);
+export default Graph;