Skip to content

refactor: reorganize auth components and hooks #11717

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

Merged
merged 3 commits into from
Jan 22, 2024
Merged

refactor: reorganize auth components and hooks #11717

merged 3 commits into from
Jan 22, 2024

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Jan 19, 2024

components/RequireAuth → contexts/auth/RequireAuth
components/RequirePermission → context/auth/RequirePermission
hooks/useMe → contexts/auth/useMe
hooks/useOrganizationId → contexts/auth/useOrganizationId
hooks/usePermissions → contexts/auth/usePermissions

@aslilac aslilac requested review from a team and BrunoQuaresma and removed request for a team January 19, 2024 23:44
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new organization 👍

@aslilac aslilac merged commit f74ef14 into main Jan 22, 2024
@aslilac aslilac deleted the reorganize-auth branch January 22, 2024 17:43
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants