diff --git a/packages/frontend/src/pages/Testimonies.tsx b/packages/frontend/src/pages/Testimonies.tsx index 9a5cba9..b0debec 100644 --- a/packages/frontend/src/pages/Testimonies.tsx +++ b/packages/frontend/src/pages/Testimonies.tsx @@ -7,9 +7,12 @@ import { usePetitions } from "@/state"; const Testimonies = () => { const { signatures: allSignatures } = usePetitions(); - const signatures = allSignatures.filter( - (s) => s.name == null || s.comment == null, - ); + const signatures = allSignatures + .filter((s) => s.comment != null) + .map((s) => ({ + ...s, + name: s.name ?? "Anonymous", + })); const totalCount = signatures.length;