fix: resolved biome errors

This commit is contained in:
2025-07-13 20:12:17 +02:00
parent 42ad5b7c80
commit 6114e80e98
23 changed files with 7589 additions and 4180 deletions

View File

@ -37,7 +37,7 @@ function usePlatformSession() {
const abortController = new AbortController();
const handleAuthSuccess = (sessionData: {
user?: {
user?: {
id?: string;
email?: string;
name?: string;
@ -50,14 +50,14 @@ function usePlatformSession() {
if (sessionData?.user?.isPlatformUser) {
setSession({
user: {
id: sessionData.user.id || '',
email: sessionData.user.email || '',
id: sessionData.user.id || "",
email: sessionData.user.email || "",
name: sessionData.user.name,
role: sessionData.user.role || '',
role: sessionData.user.role || "",
companyId: sessionData.user.companyId,
isPlatformUser: sessionData.user.isPlatformUser,
platformRole: sessionData.user.platformRole,
}
},
});
setStatus("authenticated");
} else {