feat: pages

This commit is contained in:
Ivan Rezchikov
2026-06-22 16:44:06 +03:00
parent 48656b562a
commit 64923cd1b2
20 changed files with 1038 additions and 283 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export async function getCurrentUser() {
return findUserById(userId);
}
export async function getUser(id: string) {
export async function getUser(id: string | null) {
if (!id) return null;
return findUserById(id);
}