Skip to content

feat(mobile): add avatarUri and clearUser to userStore#400

Open
mftee wants to merge 2 commits into
BlockHaven-Labs:mainfrom
mftee:feat/user-store-262
Open

feat(mobile): add avatarUri and clearUser to userStore#400
mftee wants to merge 2 commits into
BlockHaven-Labs:mainfrom
mftee:feat/user-store-262

Conversation

@mftee
Copy link
Copy Markdown

@mftee mftee commented May 29, 2026

Summary

Extends userStore with avatarUri state and a clearUser action for logout flows, plus unit tests.

Changes

  • mobile/stores/userStore.ts: added avatarUri, setAvatarUri, and clearUser (resets all fields to defaults)
  • mobile/tests/userStore.test.ts: unit tests for all actions including clearUser

Rollback

Revert userStore.ts to the previous version and delete the test file.

closes #262

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

@mftee is attempting to deploy a commit to the aminubabafatima8-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@mftee Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Create userStore for display name and profile preferences

1 participant