import { Duration } from 'luxon'; import React from 'react'; const FormatMillisecond = ({ time }: { time: number }) => { const formatTime = Duration.fromMillis(time) .shiftTo('days', 'hours', 'minutes', 'seconds') .toObject(); return (