From ae167e06d1bd42d23f91f5fa111477f90f10951c Mon Sep 17 00:00:00 2001 From: Molham Hamwi Date: Mon, 11 May 2026 07:09:18 +0200 Subject: [PATCH] fix: add company dashboard greeting fallback --- frontend/app/app/company/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/app/company/page.tsx b/frontend/app/app/company/page.tsx index dc45734..18e2134 100644 --- a/frontend/app/app/company/page.tsx +++ b/frontend/app/app/company/page.tsx @@ -97,13 +97,14 @@ function CompanyDashboardInner() { const totalPaid = bounties .filter((b) => b.status === "paid") .reduce((s, b) => s + b.amountUsdc, 0); + const companyName = company.name?.trim() || "there"; return (
Company dashboard
-

Welcome back, {company.name}

+

Welcome back, {companyName}

{company.description}