Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
niclim committed Aug 6, 2024
1 parent 4e61855 commit 56c0e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/optic/web/src/app/attributes/text-diff.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function TextDiff({
color: 'inherit',
}}
>
{diffResults.map((segment, index) => {
{diffResults.map((segment: any, index: number) => {
if (!segment.added && !segment.removed) {
return <span key={index}>{segment.value}</span>;
} else if (segment.added) {
Expand Down

0 comments on commit 56c0e79

Please sign in to comment.