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

rename AuthContext to AuthProvider #15

Open
fdemir opened this issue Apr 21, 2023 · 1 comment
Open

rename AuthContext to AuthProvider #15

fdemir opened this issue Apr 21, 2023 · 1 comment
Labels

Comments

@fdemir
Copy link
Collaborator

fdemir commented Apr 21, 2023

Problem

context does not mean anything since it is not exporting any context. it is just a provider that provides next-auth feature accross app.

Solution

  • Rename AuthContext file to AuthProvider
  • Change all referenced files that imports AuthContext
@fdemir fdemir added good first issue Good for newcomers refactoring labels Apr 21, 2023
@fdemir
Copy link
Collaborator Author

fdemir commented Apr 21, 2023

May we consider group all providers into a folder to avoid mental overhead. Consider it before close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant