Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent 404 on auth settings hook (#4619)
Since `auth/{auth_type}/settings` is an Enterprise route, this prevents 404s when we try to use the hook to fetch auth settings in non-Enterprise instances by using the conditional `useEnterpriseSWR` hook.
- Loading branch information