Skip to content

Commit

Permalink
refactor: Remove unnecessary viewer check in useAuth.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyzen committed Aug 19, 2024
1 parent 4b1b105 commit c761440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woonuxt_base/app/composables/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const useAuth = () => {
const { loginWithCookies } = await GqlLogin(credentials);

if (loginWithCookies?.status === 'SUCCESS') {
const { viewer } = await refreshCart();
await refreshCart();
if (viewer === null) {
return {
success: false,
Expand Down

0 comments on commit c761440

Please sign in to comment.