Refactor: Implement type safety plan

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 14:35:15 +00:00
parent 921abb63a1
commit 0db54b402b
12 changed files with 290 additions and 38 deletions

View File

@@ -48,7 +48,7 @@ export function UserListManager() {
.from("user_top_lists")
.select(`
*,
user_top_list_items (
list_items (
id,
entity_type,
entity_id,
@@ -75,7 +75,7 @@ export function UserListManager() {
is_public: list.is_public,
created_at: list.created_at,
updated_at: list.updated_at,
items: list.user_top_list_items || [],
items: list.list_items || [],
}));
setLists(mappedLists);
}