import { NavLink } from 'react-router-dom' /** * Two ways to read the same book. * *
Portfolio overview ranks by composite score — the register an officer * already knows how to read, and the view that has been demonstrated. * Early warning ranks by when the downside first stops covering the * instalment, which is the thing this platform can show that a bureau score * cannot. * *
They are tabs rather than one merged screen because they answer different * questions and sort by different keys. Merging them would mean picking one sort * order and losing the other. */ const TABS = [ { to: '/officer', label: 'Portfolio overview', end: true }, { to: '/officer/early-warning', label: 'Early warning', end: false }, ] export function DashboardTabs() { return (