Commit 02a3221b authored by Martin Ferreira's avatar Martin Ferreira
Browse files

removing Logs

parent 1cfbee05
Showing with 0 additions and 2 deletions
+0 -2
......@@ -24,7 +24,6 @@ export default function AppRoutes() {
function PrivateRoute({ children }: { children: React.ReactNode }) {
isLoggedIn().then((isAuthenticated) => {
console.log(isAuthenticated);
if (!isAuthenticated) {
return window.location.href = ROUTES.LOGIN();
}
......
......@@ -4,7 +4,6 @@ import { isLogged } from "./apiService";
export const isLoggedIn = async () => {
const token = localStorage.getItem('authToken');
console.log(token);
if (token) {
try {
const result = await isLogged();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment