Skip to content

Commit 59b4d81

Browse files
committed
fix(Viewer): Props have been omitted on Viewer component
1 parent 694a857 commit 59b4d81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/cozy-viewer/src/ViewerContainer.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ const ViewerContainer = props => {
106106
<EncryptedProvider url={currentURL}>
107107
<Viewer
108108
{...rest}
109+
currentIndex={currentIndex}
110+
files={files}
111+
currentURL={currentURL}
109112
componentsProps={componentsPropsWithDefault}
110113
hasPrevious={hasPrevious}
111114
hasNext={hasNext}

0 commit comments

Comments
 (0)