import { Typography } from "@mui/material"; import React from "react"; import { useShallow } from "zustand/shallow"; import ticksDisplay from "@/utils/methods/ticksDisplay"; import { usePlaybackStore } from "@/utils/store/playback"; const ProgressDisplay = () => { const { currentTime, itemDuration, isUserSeeking, seekValue } = usePlaybackStore( useShallow((state) => ({ currentTime: state.playerState.currentTime, itemDuration: state.metadata.itemDuration ?? state.metadata.item?.RunTimeTicks, isUserSeeking: state.playerState.isUserSeeking, seekValue: state.playerState.seekValue, })), ); return (