Skip to content

Fix/trust localstorage override regression#230

Open
godwinishaku506-hub wants to merge 2 commits into
DigiNodes:mainfrom
godwinishaku506-hub:fix/trust-localstorage-override-regression
Open

Fix/trust localstorage override regression#230
godwinishaku506-hub wants to merge 2 commits into
DigiNodes:mainfrom
godwinishaku506-hub:fix/trust-localstorage-override-regression

Conversation

@godwinishaku506-hub

Copy link
Copy Markdown
Contributor

Summary
Fix trust override handling so values stored in localStorage for the current user no longer leak into address-specific trust lookups.

What changed
Updated the trust hook to clear current-user override state when a specific address is requested.
Added a regression test to ensure address-based trust calculations continue to use their own derived values instead of the current-user override.
Why
The previous behavior could incorrectly apply the localStorage override to other address-based trust views, which made the demo override behave inconsistently.

closes #168

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.

Leaderboard profile image fallback

1 participant