Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
farhan/WALL-1583/Add useLandingCompany hook to @deriv/api (deriv-com#…
…9785) * feat: added use-authorize hook taken from sergei pr Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com> * chore: sorted imports for use-authorize Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com> * chore: moved default empty string in use-authorize * chore: incorporated code reviews * chore: added useLandingCompany into api package * chore: added useSettings to @deriv/api * chore: get country_code from user settings instead of authorize * chore: combine get_settings with set_settings * fix: change request type for landing_company * chore: combine get_settings with set_settings * refactor: change function name * chore: add missing dependencies for useLandingCompany return data * chore: return all mutation data * chore: export hook * refactor: types and mutation function name * refactor: use-landing-company-hook * fix: remove dependency --------- Co-authored-by: adrienne-rio <adrienne@deriv.com> Co-authored-by: Sergei Baranovski <120570511+sergei-deriv@users.noreply.github.com>
- Loading branch information