Skip to content

Conversation

leoAshu
Copy link
Owner

@leoAshu leoAshu commented Aug 28, 2025

🚀 Summary

This PR reorganizes the project’s hooks by separating them into appData and userData folders.

  • appData now holds hooks and models related to application-level data (e.g., market, ads, fiat/countries, etc.).
  • userData now holds hooks and models tied to user-specific information (e.g., profile, wallet, reviews, KYC, pay methods, etc.).

This improves project structure, maintainability, and discoverability of hooks by grouping them logically.

🧩 Related Issues / Tasks

N/A

🛠️ Type of Change

  • 🐞 Bug fix
  • ✨ New feature
  • 🧨 Breaking change
  • 🔨 Enhancement/Refactor
  • 📝 Documentation
  • 📜 Other (please describe):

✅ Checklist

  • The code is formatted with Prettier (npm run format or npx prettier --write .)
  • PR references a linked Issue or Task number
  • Tested on both iOS and Android devices/emulators
  • No unnecessary logs or commented-out code
  • UI changes, if any, have been reviewed visually
  • All tests are passing (if applicable)
  • Added or updated documentation where necessary

📸 Screenshots / Videos (UI changes only)

N/A

🧪 Test Plan

  • Verified imports were updated correctly across the app.
  • Confirmed hooks in both appData and userData function as expected.
  • Ensured no regressions in features dependent on these hooks (e.g., Ads, Profile, KYC, Wallet, Market).

@leoAshu leoAshu self-assigned this Aug 28, 2025
@leoAshu leoAshu added the enhancement Refactor style or logic label Aug 28, 2025
@leoAshu leoAshu requested a review from mano-ranjan August 28, 2025 20:49
@leoAshu leoAshu merged commit 0c0ec40 into main Aug 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Refactor style or logic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants