diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-31 17:11:10 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-31 17:11:10 -0700 |
commit | b1f3e7d1753e0c0bc04372ccd1f34ce21277f658 (patch) | |
tree | 2c328707fd93845c5c9d3010986190ca60aa58eb /modern/src/other/PositionPage.js | |
parent | a2fe2c3bddc17cbdad6acae6b86b352a4ea14522 (diff) | |
download | trackermap-web-b1f3e7d1753e0c0bc04372ccd1f34ce21277f658.tar.gz trackermap-web-b1f3e7d1753e0c0bc04372ccd1f34ce21277f658.tar.bz2 trackermap-web-b1f3e7d1753e0c0bc04372ccd1f34ce21277f658.zip |
Handle network property (fix #954)
Diffstat (limited to 'modern/src/other/PositionPage.js')
-rw-r--r-- | modern/src/other/PositionPage.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/modern/src/other/PositionPage.js b/modern/src/other/PositionPage.js index eb1b90c3..1a5f6d9d 100644 --- a/modern/src/other/PositionPage.js +++ b/modern/src/other/PositionPage.js @@ -2,17 +2,7 @@ import React, { useState } from 'react'; import { useSelector } from 'react-redux'; import { - Typography, - Container, - Paper, - AppBar, - Toolbar, - IconButton, - Table, - TableHead, - TableRow, - TableCell, - TableBody, + Typography, Container, Paper, AppBar, Toolbar, IconButton, Table, TableHead, TableRow, TableCell, TableBody, } from '@mui/material'; import makeStyles from '@mui/styles/makeStyles'; import ArrowBackIcon from '@mui/icons-material/ArrowBack'; @@ -55,8 +45,6 @@ const PositionPage = () => { } else { throw Error(await response.text()); } - } else { - setItem({}); } }, [id]); |