Skip to content

Conversation

@Snepsid
Copy link

@Snepsid Snepsid commented Nov 24, 2025

Fix: Add defaultSort parameter to fetchAllWithPagination

Problem

When running locally, the "all" items preview fails to load without explicitly passing the sort parameter. This causes the market view to appear empty.

Solution

Pass defaultSort['all'] to fetchAllWithPagination in the fetchAll$ effect.

Testing

  • Verified locally on Sepolia testnet
  • Items now load correctly in preview mode

Notes

I noticed production works fine at sepolia.etherphunks.eth.limo - this may be an environment-specific issue or already fixed in unreleased code, but this ensures the public codebase works for local development.

Fixes issue where 'all' items preview fails to load without the sort parameter. Pass defaultSort['all'] to ensure proper database query execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant