Skip to content

Commit 5e3de84

Browse files
committed
fix: opening auth only pages in a new tab redirects to login for no reason
1 parent eb65005 commit 5e3de84

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

resources/js/stores/AuthStore.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export const useAuthStore = defineStore('Auth', () => {
2323
*/
2424

2525
if (userData.value?.id && !force) return true; // Bad practice? Should I always check?
26-
if (isLoadingUserData.value) return false;
2726
if (userFetchPromise) return userFetchPromise;
2827

2928
userFetchPromise = (async () => {

0 commit comments

Comments
 (0)