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