16 lines
437 B
JavaScript
16 lines
437 B
JavaScript
|
|
const Logout = () => {
|
|
const response = fetch(`https://localhost:7292/api/Logout`, {
|
|
method: 'POST',
|
|
credentials: 'include'
|
|
})
|
|
|
|
return (
|
|
<div className="inventaire-form-container">
|
|
<h3 className="text-center">Vous n'êtes plus connecté!</h3>
|
|
<h5 className="text-center">Faites le party ou quelque-chose...</h5>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Logout; |