diff --git a/src/components/AuthUser/Dashboard/ProfilePage/ProfilePage.tsx b/src/components/AuthUser/Dashboard/ProfilePage/ProfilePage.tsx index bf861488aa174e961acf0ed49550801a956b4249..1f52c2442fb1a57c1f610d1348f6f32fa05fb228 100644 --- a/src/components/AuthUser/Dashboard/ProfilePage/ProfilePage.tsx +++ b/src/components/AuthUser/Dashboard/ProfilePage/ProfilePage.tsx @@ -9,7 +9,7 @@ export const ProfilePage: FC = () => { const logout = (): void => { axios - .post('/api/web/login/logout') + .get('/api/web/login/logout') .then(() => history.replace(NonAuthRoutes.home)); };