File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
frontend/src/Components/ComponentUtils Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React from 'react';
22import { makeStyles } from '@material-ui/core/styles' ;
33import Card from '@material-ui/core/Card' ;
44import CardContent from '@material-ui/core/CardContent' ;
5+ import Grow from '@material-ui/core/Grow' ;
56
67// Components
78import StyledDropzone from './StyledDropzone'
@@ -41,11 +42,12 @@ const useStyles = makeStyles({
4142
4243export default function ImageUploadCard ( props ) {
4344 const classes = useStyles ( ) ;
44-
45+ const checked = true
4546 return (
4647 < div >
4748 { ! props . loading ?
4849 < div className = "cardContainer" >
50+ < Grow in = { checked } >
4951 < Card className = { classes . root } >
5052 < CardContent >
5153 < p className = { classes . headerText } > Upload your image</ p >
@@ -54,6 +56,7 @@ export default function ImageUploadCard(props) {
5456 < UploadButton handleLoading = { props . handleLoading } handleResponse = { props . shandleResponse } />
5557 </ CardContent >
5658 </ Card >
59+ </ Grow >
5760 </ div >
5861 :
5962 < div className = "loadingContainer" >
You can’t perform that action at this time.
0 commit comments