fix: don't fetch application count when user is not logged in

This commit is contained in:
Jannat Patel
2025-12-23 10:58:12 +05:30
parent 76979e292d
commit 3013372711
2 changed files with 7 additions and 3 deletions

View File

@@ -196,8 +196,8 @@ const job = createResource({
onSuccess: (data) => {
if (user.data?.name) {
jobApplication.submit()
applicationCount.submit()
}
applicationCount.submit()
},
})