fix: Add /logout route to those that cannot be redirected after login

This commit is contained in:
Tom Moor
2023-06-27 19:51:37 -04:00
parent a2fae1f1eb
commit 87a675d02b

View File

@ -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;