aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-02 23:19:33 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-02 23:19:33 -0700
commite5f07d30df69c1fff28cf1ff8502e4843a8b543c (patch)
treeadc9bf04df3a911e8e0f7bda7df815cd8669113d /modern/src/reports
parent26f4e5835d5fb2f0b5035837e2e90ef012b242f0 (diff)
downloadtrackermap-web-e5f07d30df69c1fff28cf1ff8502e4843a8b543c.tar.gz
trackermap-web-e5f07d30df69c1fff28cf1ff8502e4843a8b543c.tar.bz2
trackermap-web-e5f07d30df69c1fff28cf1ff8502e4843a8b543c.zip
Migrate components
Diffstat (limited to 'modern/src/reports')
-rw-r--r--modern/src/reports/ReplayPage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/reports/ReplayPage.js b/modern/src/reports/ReplayPage.js
index c1a8d92c..3cc3c2f3 100644
--- a/modern/src/reports/ReplayPage.js
+++ b/modern/src/reports/ReplayPage.js
@@ -5,11 +5,11 @@ import {
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import MainToolbar from '../MainToolbar';
import Map from '../map/Map';
-import t from '../LocalizationProvider';
import ReplayPathMap from '../map/ReplayPathMap';
import PositionsMap from '../map/PositionsMap';
import { formatPosition } from '../common/formatter';
import ReportFilter from './ReportFilter';
+import { useTranslation } from '../LocalizationProvider';
const useStyles = makeStyles((theme) => ({
root: {
@@ -41,6 +41,7 @@ const TimeLabel = ({ children, open, value }) => (
const ReplayPage = () => {
const classes = useStyles();
+ const t = useTranslation();
const [expanded, setExpanded] = useState(true);
const [positions, setPositions] = useState([]);