diff --git a/console/client/src/providers/selected-timeline-entry-provider.tsx b/console/client/src/providers/selected-timeline-entry-provider.tsx index 529731c078..ff65643219 100644 --- a/console/client/src/providers/selected-timeline-entry-provider.tsx +++ b/console/client/src/providers/selected-timeline-entry-provider.tsx @@ -3,9 +3,7 @@ import {TimelineEvent} from '../protos/xyz/block/ftl/v1/console/console_pb' type SelectedTimelineEntryContextType = { selectedEntry: TimelineEvent | null - setSelectedEntry: React.Dispatch< - React.SetStateAction - > + setSelectedEntry: React.Dispatch> } export const SelectedTimelineEntryContext = @@ -15,8 +13,7 @@ export const SelectedTimelineEntryContext = }) export const SelectedTimelineEntryProvider = (props: PropsWithChildren) => { - const [selectedEntry, setSelectedEntry] = - useState(null) + const [selectedEntry, setSelectedEntry] = useState(null) return (