import { InfoBoxGroup } from 'app/shared/components/infoBox/infoBoxGroup';
import React from 'react';
import { useSelector } from 'react-redux';
import { selectFinancialKeyFiguresInfoBoxes } from '../store/vesselDetails.selectors';

export const FinancialKeyFigures = () => {
  const boxes = useSelector(selectFinancialKeyFiguresInfoBoxes);
  return <InfoBoxGroup boxes={boxes} />;
};
