feat: enhance layout and sidebar functionality with new PageHeader and SidebarContext

This commit is contained in:
JSC
2025-06-28 19:55:11 +02:00
parent 59ae7d8bf7
commit 75a76e33fe
11 changed files with 137 additions and 51 deletions

View File

@@ -33,7 +33,9 @@ export function RegisterPage() {
const loadProviders = async () => {
try {
const providers = await authService.getOAuthProviders()
setOauthProviders(providers)
if (providers) {
setOauthProviders(providers)
}
} catch (error) {
console.error('Failed to load OAuth providers:', error)
}