import { TimeCounter } from "@thorium/components/TimeCounter"; import { TypingText } from "@thorium/components/TypingText"; import { q } from "@thorium/context/AppContext"; import { useStation } from "@thorium/routes/station/useStation"; import { Icon } from "@thorium/ui/Icon"; import { Fragment, type DetailedHTMLProps, type HTMLAttributes } from "react"; export function ProcessedData( props: DetailedHTMLProps, HTMLDivElement>, ) { const { shipId, station } = useStation(); const isCore = station.name === "Flight Director"; const [sensors] = q.sensors.get.useNetRequest({ shipId }); return (
{sensors.processedData.map(({ data, timestamp }, i, arr) => (
						{isCore ? data : {data}}
						{isCore ? (
							
						) : null}
						
{i < arr.length - 1 &&
}
))}
); }