import { useParams } from "react-router"; // The second panel, reading the section from the URL rather than from the panel beside it. export const FinancesDetail = () => { const { section } = useParams(); return (
Section from the URL: {section ?? "(none)"}