import { useEffect } from "react"; import {useParams} from "react-router-dom"; const MorceauDetail = () => { const {id} = useParams(); useEffect(() => { document.title = 'Morceaux'; }); return ( <>
{id}