Skip to content

[HUMAN App] fix: missing fn memo - #4004

Merged
dnechay merged 2 commits into
developfrom
dnechay/ha-au-f
Aug 13, 2026
Merged

[HUMAN App] fix: missing fn memo#4004
dnechay merged 2 commits into
developfrom
dnechay/ha-au-f

Conversation

@dnechay

@dnechay dnechay commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Issue tracking

N/A

Context behind the change

Refresh token hook returns new "mutate" function instances on every render loop, which causes unnecessary calls of jwt-expiration-check logic and incorrect auth loop. Fixing it by returning memoized version provided by useMutation. Also fixed disabled queries on token expiration.

How has this been tested?

  • e2e locally: wait for access & refresh token expirations, make sure auth is correct after that and data loads correctly w/o page reload

Release plan

Regular

Potential risks; What to monitor; Rollback plan

No

@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
human-app Ready Ready Preview Aug 13, 2026 9:25am
4 Skipped Deployments
Project Deployment Actions Updated (UTC)
faucet-frontend Ignored Ignored Preview Aug 13, 2026 9:25am
faucet-server Ignored Ignored Preview Aug 13, 2026 9:25am
human-dashboard-frontend Skipped Skipped Aug 13, 2026 9:25am
staking-dashboard Skipped Skipped Aug 13, 2026 9:25am

Request Review

@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard August 12, 2026 15:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend August 12, 2026 15:44 Inactive
@dnechay dnechay self-assigned this Aug 12, 2026
@dnechay
dnechay requested a review from KirillKirill August 12, 2026 15:47
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard August 13, 2026 09:22 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend August 13, 2026 09:23 Inactive
@dnechay
dnechay merged commit de19696 into develop Aug 13, 2026
13 checks passed
@dnechay
dnechay deleted the dnechay/ha-au-f branch August 13, 2026 09:31
@dnechay dnechay mentioned this pull request Aug 13, 2026
1 task
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