Solved some more bugs and styling
This commit is contained in:
@@ -37,7 +37,7 @@ export default function Sidebar({path}: Props) {
|
||||
|
||||
const logout = async () => {
|
||||
axios.post("/api/logout").finally(() => {
|
||||
router.push("/login");
|
||||
setTimeout(() => router.reload(), 500);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user