From b869fa5c2df1b8e594658183bfca407529f1820e Mon Sep 17 00:00:00 2001 From: cv <34649812+cpvalente@users.noreply.github.com> Date: Sat, 2 Sep 2023 12:51:48 +0200 Subject: [PATCH] style: user feedback tweaks --- .../src/features/operator/operator-event/OperatorEvent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/features/operator/operator-event/OperatorEvent.tsx b/apps/client/src/features/operator/operator-event/OperatorEvent.tsx index f69930e92..4c1a8583b 100644 --- a/apps/client/src/features/operator/operator-event/OperatorEvent.tsx +++ b/apps/client/src/features/operator/operator-event/OperatorEvent.tsx @@ -1,4 +1,4 @@ -import { MutableRefObject } from 'react'; +import { RefObject } from 'react'; import { OntimeEvent, UserFields } from 'ontime-types'; import DelayIndicator from '../../../common/components/delay-indicator/DelayIndicator'; @@ -16,7 +16,7 @@ interface OperatorEventProps { subscribedAlias: string; showSeconds: boolean; isPast: boolean; - selectedRef?: MutableRefObject; + selectedRef?: RefObject; } // extract this to contain re-renders