import { useParams } from 'react-router'; // Which email is open is `/email/:emailId`. The route pair already existed, but the URL was a mirror // rather than the state: the selection lived in an `EMAIL_SELECTED` global and two effects copied it // back and forth with the route. That round-trip is what kept a row a `