fix: Add /logout route to those that cannot be redirected after login
This commit is contained in:
@@ -14,7 +14,7 @@ import { client } from "~/utils/ApiClient";
|
||||
import Desktop from "~/utils/Desktop";
|
||||
|
||||
const AUTH_STORE = "AUTH_STORE";
|
||||
const NO_REDIRECT_PATHS = ["/", "/create", "/home"];
|
||||
const NO_REDIRECT_PATHS = ["/", "/create", "/home", "/logout"];
|
||||
|
||||
type PersistedData = {
|
||||
user?: User;
|
||||
|
||||
Reference in New Issue
Block a user