fix: complete InvesteMoz validation and error corrections

This commit is contained in:
2026-10-29 21:47:33 +02:00
parent 63147312e2
commit daf8623441
718 changed files with 127308 additions and 20959 deletions
+13 -4
View File
@@ -1,5 +1,14 @@
export function participationIdentity(): {name:string;email:string} {
try { const value = JSON.parse(sessionStorage.getItem('investemoz-participation-identity') ?? 'null');
return {name: typeof value?.name === 'string' ? value.name : '', email: typeof value?.email === 'string' ? value.email : ''};
} catch { return {name:'',email:''}; }
export function participationIdentity(): { name: string; email: string } {
try {
const value = JSON.parse(
sessionStorage.getItem('investemoz-participation-identity') ??
'null',
);
return {
name: typeof value?.name === 'string' ? value.name : '',
email: typeof value?.email === 'string' ? value.email : '',
};
} catch {
return { name: '', email: '' };
}
}