Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
igordanchenko committed Jul 29, 2024
1 parent 567a204 commit ba6e650
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@ export default function SortableGallery<TPhoto extends Photo, TGalleryType exten
index: number,
photo: TPhoto,
props: ComponentProps<any>,
) => {
return (
<Sortable key={index} id={(photo as SortablePhoto<TPhoto>).id}>
<Component {...props} />
</Sortable>
);
};
) => (
<Sortable key={index} id={(photo as SortablePhoto<TPhoto>).id}>
<Component {...props} />
</Sortable>
);

return (
<DndContext
Expand Down

0 comments on commit ba6e650

Please sign in to comment.