- {numMicrons <= 1 ? 'Micron: ' : 'Microns: '} {numMicrons}
- {payload.map((payloadData) => {
- return {payloadData.name}: {Math.round(payloadData.value)}
- })}
-
- );
- }
-
- return null;
-}
export function BridgeGraph({ bridges, sizeFractions }) {
const [graphData, setGraphData] = useState([])
@@ -95,13 +55,13 @@ export function BridgeGraph({ bridges, sizeFractions }) {
height={70}
/>