diff --git a/src/photos/components/PhotosViewer.jsx b/src/photos/components/PhotosViewer.jsx
index b59a4be9..f37febe9 100644
--- a/src/photos/components/PhotosViewer.jsx
+++ b/src/photos/components/PhotosViewer.jsx
@@ -1,6 +1,5 @@
import React, { useMemo } from 'react'
-import Overlay from 'cozy-ui/transpiled/react/deprecated/Overlay'
import Viewer from 'cozy-ui/transpiled/react/Viewer'
import FooterActionButtons from 'cozy-ui/transpiled/react/Viewer/Footer/FooterActionButtons'
import ForwardOrDownloadButton from 'cozy-ui/transpiled/react/Viewer/Footer/ForwardOrDownloadButton'
@@ -40,24 +39,22 @@ const PhotosViewer = ({ photos, isPublic = false }) => {
)
return (
-
- navigate(`../${nextPhoto.id}`)}
- onCloseRequest={() => navigate('..')}
- componentsProps={{
- toolbarProps: {
- showFilePath: !isPublic
- }
- }}
- >
-
-
-
-
-
-
+ navigate(`../${nextPhoto.id}`)}
+ onCloseRequest={() => navigate('..')}
+ componentsProps={{
+ toolbarProps: {
+ showFilePath: !isPublic
+ }
+ }}
+ >
+
+
+
+
+
)
}