Skip to content

[CLUST-203] Refactor get user setting query - #174

Open
anbigtomato wants to merge 1 commit into
mainfrom
CLUST-203-refactor-get-user-setting-query
Open

[CLUST-203] Refactor get user setting query#174
anbigtomato wants to merge 1 commit into
mainfrom
CLUST-203-refactor-get-user-setting-query

Conversation

@anbigtomato

@anbigtomato anbigtomato commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Type of changes

  • Refactor

Purpose

  • Add a shared useGetSettings hook for fetching user settings
  • Use a consistent React Query key for the same settings API across components
  • Reuse the shared query key when invalidating settings queries

Additional Information

  • Preserve the existing retry: 1 behavior in BindLoginForm

Preview Environment

https://pr-174.clustron.sdc.nycu.club

@anbigtomato anbigtomato self-assigned this Aug 26, 2026
@anbigtomato
anbigtomato marked this pull request as ready for review August 26, 2026 15:38
@anbigtomato
anbigtomato requested review from nyan222727 and removed request for yukicoder0509 August 28, 2026 07:53
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.

1 participant