throughputCell.tsx 291 B

12345678910
  1. import {t} from 'sentry/locale';
  2. type Props = {
  3. throughputPerSecond?: number;
  4. };
  5. export default function ThroughputCell({throughputPerSecond}: Props) {
  6. const throughput = throughputPerSecond ? throughputPerSecond.toFixed(2) : '--';
  7. return <span>{`${throughput}/${t('s')}`}</span>;
  8. }