aboutsummaryrefslogtreecommitdiff
path: root/src/other/ReplayPage.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/other/ReplayPage.jsx')
-rw-r--r--src/other/ReplayPage.jsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/other/ReplayPage.jsx b/src/other/ReplayPage.jsx
index 1050b976..1425c495 100644
--- a/src/other/ReplayPage.jsx
+++ b/src/other/ReplayPage.jsx
@@ -25,7 +25,6 @@ import { useCatch } from '../reactHelper';
import MapCamera from '../map/MapCamera';
import MapGeofence from '../map/MapGeofence';
import StatusCard from '../common/components/StatusCard';
-import { usePreference } from '../common/util/preferences';
const useStyles = makeStyles((theme) => ({
root: {
@@ -82,8 +81,6 @@ const ReplayPage = () => {
const navigate = useNavigate();
const timerRef = useRef();
- const hours12 = usePreference('twelveHourFormat');
-
const defaultDeviceId = useSelector((state) => state.devices.selectedId);
const [positions, setPositions] = useState([]);
@@ -210,7 +207,7 @@ const ReplayPage = () => {
<IconButton onClick={() => setIndex((index) => index + 1)} disabled={playing || index >= positions.length - 1}>
<FastForwardIcon />
</IconButton>
- {formatTime(positions[index].fixTime, 'seconds', hours12)}
+ {formatTime(positions[index].fixTime, 'seconds')}
</div>
</>
) : (