Skip to content

Conversation

@limitofzero
Copy link
Contributor

@limitofzero limitofzero commented Dec 30, 2025

Summary

Handle this issue
Refetch geo data when user changes wallet address.

Previously, geo data was only fetched once on app load and cached. This caused issues when users switched wallets, as the geo check was based on stale data. Now the geo API is called again whenever the wallet address changes.

To Test

  1. Connect wallet and check country request, than switch active wallet address in the wallet app
    [ ] - there is a new api request to fetch geodata, user consent settings should be changed

@vercel
Copy link

vercel bot commented Dec 30, 2025

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

Project Deployment Review Updated (UTC)
cowfi Ready Ready Preview Jan 8, 2026 6:37pm
explorer-dev Ready Ready Preview Jan 8, 2026 6:37pm
swap-dev Ready Ready Preview Jan 8, 2026 6:37pm
widget-configurator Ready Ready Preview Jan 8, 2026 6:37pm
2 Skipped Deployments
Project Deployment Review Updated (UTC)
cosmos Ignored Ignored Jan 8, 2026 6:37pm
sdk-tools Ignored Ignored Preview Jan 8, 2026 6:37pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 30, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Collaborator

@shoom3301 shoom3301 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

Thank you, works great!

@limitofzero limitofzero merged commit d0576d7 into feat/implement-consent-for-token-importing Jan 8, 2026
15 of 16 checks passed
@limitofzero limitofzero deleted the feat/implement-geoapi-call-for-new-wallet branch January 8, 2026 18:43
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants