Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt useDelegateName with react-query #4561

Closed
Tracked by #4341
soroushm opened this issue Nov 4, 2022 · 0 comments
Closed
Tracked by #4341

Adopt useDelegateName with react-query #4561

soroushm opened this issue Nov 4, 2022 · 0 comments
Assignees
Milestone

Comments

@soroushm
Copy link
Contributor

soroushm commented Nov 4, 2022

Description

In register delegate form, we need to validate uniqueness of delegate name, so that the application uses useDelegateName hooks in utils and checkUsername function to check the delegate name. We have an API call getDelegate which is using old methodology and calling account endpoint which does not exist any more so we need to adopt useDelegateName with react-query

Acceptance Criteria

  • Adopt useDelegateName with react-query
  • Remove unused utiles
  • Adopt unit test

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants