Skip to content

Commit

Permalink
Revert "add debugging console.logs"
Browse files Browse the repository at this point in the history
This reverts commit 207d668.
  • Loading branch information
dauglyon committed Feb 26, 2024
1 parent 4d3b7ea commit b18e23c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/common/cookie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export function setCookie(
SameSite?: 'Lax' | 'Strict' | 'None';
}
) {
// eslint-disable-next-line no-console
console.log('setCookie', { name, value, options });
if (!name) throw new Error('cannot set unnamed cookie');
const { expires, path, domain, secure, SameSite } = {
path: '/',
Expand Down
2 changes: 0 additions & 2 deletions src/features/auth/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ export const useTokenCookie = (

// Initializes auth for states where useTryAuthFromToken does not set auth
useEffect(() => {
// eslint-disable-next-line no-console
console.log({ cookieToken, isUninitialized, isFetching, isSuccess, token });
// If the cookieToken is present but it failed checks and wont be overwritten by a token in state, clear
if (
cookieToken &&
Expand Down

0 comments on commit b18e23c

Please sign in to comment.