Skip to content

Commit

Permalink
fix: allaines client side error
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGOs92 committed Dec 8, 2023
1 parent b2c710d commit 5809b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/communes/revisions-item-api-depot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const RevisionItemApiDepot = (
{validation.valid ? (
<input type='checkbox' id='checkbox' name='checkbox' checked disabled />
) : (
<Tooltip text={validation.errors.join(',')}>
<Tooltip text={validation?.errors?.join(',') || 'Erreur inconnue'}>
<input type='checkbox' id='checkbox' name='checkbox' disabled />
</Tooltip>
)}
Expand Down

0 comments on commit 5809b07

Please sign in to comment.