import Register from "../components/DisplayClass.js";
import axios from 'axios';
import DisplayClassV2 from "../components/DisplayClassV2";
import { useHistory, useParams } from 'react-router-dom'



const displayclass = () => {

    const { id } = useParams()


  return (
            <div>
            <nav> Affichage detaillé d'une formation {id} </nav>
            <DisplayClassV2 myval="1222" key="1"/>
            <h2>
                <Link href="/">
                    <a>Back to home</a>
                </Link>
            </h2>
        </div>

  )
}


export default displayclass;