aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/reports/RouteReportPage.js6
-rw-r--r--modern/src/theme/index.js4
2 files changed, 6 insertions, 4 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js
index 02aab79..3a2ea6a 100644
--- a/modern/src/reports/RouteReportPage.js
+++ b/modern/src/reports/RouteReportPage.js
@@ -1,9 +1,9 @@
import React, { useState } from 'react';
-import { Paper, Typography } from '@material-ui/core';
-import { DataGrid, GridOverlay } from '@material-ui/data-grid';
+import { Paper } from '@material-ui/core';
+import { DataGrid } from '@material-ui/data-grid';
import { useTheme } from '@material-ui/core/styles';
import {
- formatDistance, formatSpeed, formatBoolean, formatDate, formatCoordinate, formatPosition,
+ formatDistance, formatSpeed, formatBoolean, formatDate, formatCoordinate,
} from '../common/formatter';
import ReportFilter from './ReportFilter';
import ReportLayout from './ReportLayout';
diff --git a/modern/src/theme/index.js b/modern/src/theme/index.js
index 02865c2..e81f254 100644
--- a/modern/src/theme/index.js
+++ b/modern/src/theme/index.js
@@ -2,11 +2,13 @@ import { createTheme } from '@material-ui/core/styles';
import palette from './palette';
import overrides from './overrides';
import dimensions from './dimensions';
+import { esES } from '@material-ui/core/locale';
+import { esES as dgEsES } from '@material-ui/data-grid'
const theme = createTheme({
palette,
overrides,
dimensions,
-});
+}, esES, dgEsES);
export default theme;