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

fix: minor issues #152

Merged
merged 4 commits into from
Aug 15, 2024
Merged

fix: minor issues #152

merged 4 commits into from
Aug 15, 2024

Conversation

suzit-10
Copy link
Collaborator

  • Fixes the profile blank issue while logging in through username password. solved by calling the my-info endpoint on login success and saving on local storage (similar to Google sign-in)
  • add ((props: { children?: ReactNode }) => JSX.Element) type to routes components type to solve issue raised on wrapping component with hasErrorBoundary .
  • Update the request body of rejecting task request for mapping
  • Update request log and count by invalidating the query key using invalidateQueries so it fetches the query automatically

call my-info api after login success (similar to gmail login)
add type to accept component as a prop and return new jsx element `((props: { children?: ReactNode }) => JSX.Element)`
@nrjadkry nrjadkry merged commit d31a111 into main Aug 15, 2024
2 checks passed
@nrjadkry nrjadkry deleted the minor-updates branch August 15, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants