Skip to content

Conversation

@Jipperism
Copy link
Collaborator

Enhances the Undelegate component by introducing a revalidation mechanism for account data using SWR. After a successful undelegation, the account data is refreshed after a 15-second delay to ensure the UI reflects the latest state.

Enhances the Undelegate component by introducing a revalidation mechanism for account data using SWR. After a successful undelegation, the account data is refreshed after a 15-second delay to ensure the UI reflects the latest state.
@Jipperism
Copy link
Collaborator Author

Continuation of #481, which was accidentally closed.

@vercel
Copy link

vercel bot commented Jan 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Jan 12, 2026 4:17pm

…fallback

- Removed unused SWR configuration in Undelegate component.
- Updated AccountLayout to fetch fresh account data client-side, prioritizing it over static props.
- Adjusted logic to ensure the UI reflects the latest account state by using the newly fetched data for various components.
@Jipperism
Copy link
Collaborator Author

@ECWireless decided to go with a hybrid approach where the static data fetched on build time is used as a fallback for client side fetched data. Seems to solve the problem quite efficiently as polling starts working again, so I expect this fixes other issues with static data in the website as well.

@Jipperism
Copy link
Collaborator Author

Closes #192

@Jipperism
Copy link
Collaborator Author

Jipperism commented Jan 12, 2026

@ECWireless only issue now is that we are getting a 429 error when trying to generate the build. Will kick off a new build in a couple of minutes to see if that resolves the too many requests error.

EDIT: Doesn't seem to resolve the issue. Could it be that the preview deployment API key has a lower rate limit than the production one?

@Jipperism Jipperism force-pushed the bugfix/192-no-option-to-redelegate-LPT-after-undelegating branch from a18ab92 to 82bcaa4 Compare January 12, 2026 12:23
Copy link
Collaborator

@ECWireless ECWireless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clever!

@github-project-automation github-project-automation bot moved this from In Review to Todo in Explorer Revamp Jan 12, 2026
@ECWireless ECWireless merged commit ca99fea into main Jan 12, 2026
6 of 7 checks passed
@ECWireless ECWireless deleted the bugfix/192-no-option-to-redelegate-LPT-after-undelegating branch January 12, 2026 16:20
@github-project-automation github-project-automation bot moved this from Todo to Done in Explorer Revamp Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants