fix: cache headers and frontend pro tier resolution
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m34s

This commit is contained in:
2026-05-17 20:06:26 +02:00
parent 590d4347f7
commit e41dca6fe3
3 changed files with 7 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ export function useTranslationConfig(hasFile: boolean): UseTranslationConfigRetu
if (userStr) {
try {
const user = JSON.parse(userStr);
if (user?.plan || user?.tier) { setIsPro(isProTier(user)); return; }
if (user?.plan || user?.tier) { setIsPro(isProTier(user)); }
} catch { /* continue */ }
}
try {