mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-21 01:53:57 +00:00
Fix: updated pinnedDate logic, set default values for pagination, deleted comments, deleted example in user-profile-context
This commit is contained in:
@@ -93,8 +93,7 @@ export function UserProfileContextProvider({
|
||||
|
||||
const getUserLibraryGames = useCallback(async () => {
|
||||
try {
|
||||
// Example usage with pagination: take=24, skip=0
|
||||
const response = await window.electron.getUserLibrary(userId, 24, 0);
|
||||
const response = await window.electron.getUserLibrary(userId);
|
||||
if (response) {
|
||||
setLibraryGames(response.library);
|
||||
setPinnedGames(response.pinnedGames);
|
||||
|
||||
Reference in New Issue
Block a user