improve: add missing try-catch cases (#86)

* improve: add missing try-catch cases

* i18n: support german

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: uubulb <uubulb@users.noreply.github.com>
This commit is contained in:
UUBulb
2025-01-03 22:43:36 +08:00
committed by GitHub
parent 290459997c
commit f93d266810
17 changed files with 123 additions and 6996 deletions

View File

@@ -25,7 +25,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
setProfile(user)
} catch (error: any) {
setProfile(undefined)
console.log("Error fetching profile", error)
console.error("Error fetching profile", error)
}
})()
}, [])