import HydrogenOverview from './HydrogenOverview';
import HydrogenDaily from './HydrogenDaily';

export type HydrogenSubTab = 'daily' | 'overview';

interface Props {
  sub: HydrogenSubTab;
}

export default function HydrogenView({ sub }: Props) {
  return sub === 'overview' ? <HydrogenOverview /> : <HydrogenDaily />;
}
