Sfoglia il codice sorgente

Update ImageList.js

AY 5 anni fa
parent
commit
ebaebd455c
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      photo/src/ImageList.js

+ 3 - 2
photo/src/ImageList.js

@@ -5,6 +5,7 @@ import LinearProgress from '@material-ui/core/LinearProgress';
 import ShareIcon from '@material-ui/icons/Share';
 import Button from '@material-ui/core/Button';
 import { makeStyles } from '@material-ui/core/styles';
+import Modal from '@material-ui/core/Modal';
 
 class imageList extends React.Component {
     constructor(props) {
@@ -83,7 +84,7 @@ class imageList extends React.Component {
         }else if(!isLoaded) {
             return <div><LinearProgress /></div>;
         } else {
-            return ( < Gallery images = { this.state.images }
+            return ( <Gallery images = { this.state.images }
                 enableLightbox = { true }
                 enableImageSelection={false}
                 currentImageWillChange={this.onCurrentImageChange}
@@ -98,7 +99,7 @@ class imageList extends React.Component {
                         onClick={this.deleteImage}
                     >Share</Button>
                 ]}
-                />
+            />           
             );
         }
     }