openreplay/frontend/app/components/Session_/Player/Controls/TimeTracker.js
Andrey Babushkin fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00

15 lines
486 B
JavaScript

import React from 'react';
import { PlayerContext } from 'App/components/Session/playerContext';
import { observer } from 'mobx-react-lite';
import { ProgressBar } from 'App/player-ui';
function TimeTracker({ scale, live = false, left }) {
const { store } = React.useContext(PlayerContext);
const { time } = store.get();
return <ProgressBar scale={scale} live={live} left={left} time={time} />;
}
TimeTracker.displayName = 'TimeTracker';
export default observer(TimeTracker);