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

Move auth flow state from AuthContext to AuthFlowForm component #11

Open
nathan815 opened this issue Jan 14, 2023 · 0 comments
Open

Move auth flow state from AuthContext to AuthFlowForm component #11

nathan815 opened this issue Jan 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nathan815
Copy link
Owner

nathan815 commented Jan 14, 2023

The auth flow state doesn't need to be persisted across the app. It can be maintained locally in the AuthFlowForm component.

Auth flow state is:

type AuthFlowState = {
  option: AuthOption | null;
  optionInProgress: AuthOption | null;
  finishLoginLoading: boolean;
};
@nathan815 nathan815 converted this from a draft issue Jan 14, 2023
@nathan815 nathan815 added the enhancement New feature or request label Jan 14, 2023
@nathan815 nathan815 changed the title Move auth flow state out of context into AuthFlowForm component Move auth flow state from AuthContext to AuthFlowForm component Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant