fix logout error

This commit is contained in:
Francis Cao 2023-04-12 22:53:38 -07:00
parent a30147547b
commit 5fc96cf5e1

View File

@ -10,7 +10,7 @@ export default function LogoutPage({ disabled }) {
useEffect(() => { useEffect(() => {
async function logout() { async function logout() {
await post('/logout'); await post('/auth/logout');
} }
if (!disabled) { if (!disabled) {