From d7a3de843cb57a58305f45de7e1b716716c0c51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Loureiro?= Date: Fri, 29 Aug 2025 14:26:59 -0300 Subject: [PATCH] fix: simplify error handling in getProjectFeatures function --- frontend/src/app/(i18n)/[locale]/project/[id]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/(i18n)/[locale]/project/[id]/page.tsx b/frontend/src/app/(i18n)/[locale]/project/[id]/page.tsx index 69827fe..f8912d0 100644 --- a/frontend/src/app/(i18n)/[locale]/project/[id]/page.tsx +++ b/frontend/src/app/(i18n)/[locale]/project/[id]/page.tsx @@ -51,7 +51,7 @@ export default function ProjectPage() { try { const features = t.raw(`project_${id}_features`); return Array.isArray(features) ? features : []; - } catch (error) { + } catch { return []; } };