refactor: code review cleanup

This commit is contained in:
cv
2023-09-01 20:09:09 +02:00
parent 124eb9a6ea
commit 5245da7ce7
4 changed files with 18 additions and 18 deletions
@@ -7,7 +7,11 @@ import { millisToDelayString } from '../../utils/dateConfig';
import style from './DelayIndicator.module.scss';
export default function DelayIndicator(props: { delayValue?: number }) {
interface DelayIndicatorProps {
delayValue?: number;
}
export default function DelayIndicator(props: DelayIndicatorProps) {
const { delayValue } = props;
if (typeof delayValue === 'number') {