mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 12:11:17 -05:00
Refactor: Implement type safety plan
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user