to do calendar view

This commit is contained in:
2025-07-07 17:45:33 -04:00
parent de40c78f47
commit 5143be1a67
13 changed files with 225 additions and 26 deletions

View File

@@ -122,4 +122,12 @@ export const queries = {
}
},
async fetchCurrentUser(id: string | null) {
if (!id) return
return await prisma.user.findUnique({
where: { id },
})
}
}