fix: remove console logs

This commit is contained in:
swve 2023-08-25 10:10:03 +02:00
parent 2683501f82
commit 62bba02561
3 changed files with 0 additions and 4 deletions

View file

@ -22,7 +22,6 @@ const AuthProvider = ({ children }: any) => {
const [auth, setAuth] = React.useState<Auth>({ access_token: "", isAuthenticated: false, userInfo: {}, isLoading: true });
function deleteCookie(cookieName: string) {
console.log("Deleting cookie: " + cookieName);
document.cookie = cookieName + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
}
@ -70,7 +69,6 @@ const AuthProvider = ({ children }: any) => {
useEffect(() => {
checkRefreshToken();
checkAuth();
console.log("pathname", pathname);
return () => {
auth.isLoading = false;
};