Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
MinJieLiu committed Apr 27, 2022
1 parent 2d54b14 commit 8d3562f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-photo-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-photo-view",
"version": "1.1.0",
"version": "1.1.1",
"description": "An exquisite React photo preview component",
"author": "MinJieLiu",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-photo-view/src/PhotoSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export default function PhotoSlider(props: IPhotoSliderProps) {
onClose: close,
onIndexChange: changeIndex,
overlayVisible: currentOverlayVisible,
overlay: currentImage.overlay,
overlay: currentImage && currentImage.overlay,
scale,
rotate,
onScale,
Expand Down

1 comment on commit 8d3562f

@vercel
Copy link

@vercel vercel bot commented on 8d3562f Apr 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.