Skip to content

Commit

Permalink
fix: disable check query auth errors in console
Browse files Browse the repository at this point in the history
  • Loading branch information
LorexIQ committed Dec 7, 2023
1 parent e6376a7 commit 760cd45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/runtime/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ export default defineNuxtPlugin(async () => {

try {
if (options.token.queryKey) await checkAndSaveQueryAuth();
} catch (e) {
console.error(e);
}
} catch (e) {}
try {
if (token.value) await getMe();
} catch (e) {
Expand Down

0 comments on commit 760cd45

Please sign in to comment.