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:
UUBulbanduubulb authored and GitHub committed 2025-01-03 22:43:36 +08:00
1 parent 290459997c
commit f93d266810
17 files changed
+123 -6996

No files matched your search

+1 -1
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)
}
})()
}, [])