Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Sorting functionality for active and ended farms on Dogechain #1773

Open
wants to merge 1 commit into
base: dev2
Choose a base branch
from

Conversation

webdev403
Copy link
Contributor

Fix the following issue:

Description

When selecting Dogechain as the network in the Farms page, farms are categorized under Active and Ended statuses. The Sort By functionality does not work properly for these statuses.

Currently, there are no active farms, but there are ended farms. However, sorting does not work for the Ended farms, preventing users from organizing the list by different sorting options.

Steps to Reproduce

  1. Navigate to the Farms page.
  2. Select Dogechain as the network.
  3. Observe that no farms are listed under Active status.
  4. Switch to Ended farms and attempt to use the Sort By dropdown.
  5. Notice that the sorting does not update the list correctly.

Expected Behavior

  • The Sort By functionality should properly sort Ended farms based on the selected option.
  • If Active farms are present in the future, sorting should function correctly for them as well.

Actual Behavior

  • Sorting does not work for Ended farms.
  • No visible impact when selecting different sorting options.

Proposed Fix

  • Ensure the sorting logic applies correctly to Ended farms.
  • Verify that sorting works dynamically when farms are listed under Active status in the future.
  • Debug state management issues that might be preventing updates.

Screenshots

Image

Copy link

vercel bot commented Mar 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
interface-v2 ❌ Failed (Inspect) Mar 27, 2025 9:23am

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.

2 participants