From d3522eacc7ce9479a702b0fb074d7525e571607c Mon Sep 17 00:00:00 2001 From: "Felix C. Morency" <1102868+fmorency@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:38:48 -0500 Subject: [PATCH] fix: prettier --- components/groups/forms/proposals/ProposalMessages.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/groups/forms/proposals/ProposalMessages.tsx b/components/groups/forms/proposals/ProposalMessages.tsx index a156245b..80456355 100644 --- a/components/groups/forms/proposals/ProposalMessages.tsx +++ b/components/groups/forms/proposals/ProposalMessages.tsx @@ -486,7 +486,10 @@ export default function ProposalMessages({ if (fieldPath[i] === '__proto__' || fieldPath[i] === 'constructor') return; current = current[fieldPath[i]]; } - if (fieldPath[fieldPath.length - 1] !== '__proto__' && fieldPath[fieldPath.length - 1] !== 'constructor') { + if ( + fieldPath[fieldPath.length - 1] !== '__proto__' && + fieldPath[fieldPath.length - 1] !== 'constructor' + ) { current[fieldPath[fieldPath.length - 1]] = value; }