Skip to content

Commit

Permalink
bug fix (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
Galpittel authored Nov 27, 2023
1 parent d9b2a20 commit e311689
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"semver": "^6.3.0",
"set-value": "^4.1.0"
},
"workspaces":[
"packages/*"
],
"dependencies": {
"start-server-and-test": "^1.10.6"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
},
"dependencies": {
"@vimeo/player": "2.8.2",
"hls.js": "^1.1.5",
"hls.js": "1.4.12",
"pro-gallery-blueprints": "5.0.73",
"pro-gallery-lib": "5.0.73",
"pro-layouts": "5.0.73",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-player": "^2.6.2",
"react-player": "2.11.0",
"three": "0.143.0"
},
"devDependencies": {
Expand Down
7 changes: 6 additions & 1 deletion packages/gallery/src/components/item/media/mediaItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ export default function MediaItem<T extends Record<string, any>>(props: MediaPro
}

if (isEditMode()) {
return thumbnail;
return (
<>
{thumbnail}
{props.hover}
</>
);
}

return (
Expand Down

0 comments on commit e311689

Please sign in to comment.