src/components/TrackingStatus/TrackingStatus.tsx
Function TrackingStatus
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function TrackingStatus(): JSX.Element {
const manager = useTaskManager()
const analytics = useAnalytics()
const [mode] = useMode()
const { trackings } = useTrackingState()
Function Remain
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Remain(props: RemainProps): JSX.Element {
const estimatedTime = props.estimatedTime
const [time, setTime] = useState<Time>(new Time())
useLayoutEffect(() => {