Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Nov 25, 2024
1 parent d5f1e0a commit d3522ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/groups/forms/proposals/ProposalMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@ export default function ProposalMessages({
if (fieldPath[i] === '__proto__' || fieldPath[i] === 'constructor') return;

Check warning on line 486 in components/groups/forms/proposals/ProposalMessages.tsx

View check run for this annotation

Codecov / codecov/patch

components/groups/forms/proposals/ProposalMessages.tsx#L486

Added line #L486 was not covered by tests
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;
}

Check warning on line 494 in components/groups/forms/proposals/ProposalMessages.tsx

View check run for this annotation

Codecov / codecov/patch

components/groups/forms/proposals/ProposalMessages.tsx#L489-L494

Added lines #L489 - L494 were not covered by tests

Expand Down

0 comments on commit d3522ea

Please sign in to comment.