Fix spacing unit to new MUI v4 format (#3841)

Replaces theme.spacing.unit in the TapQueryForm component, which is deprecated, 
with theme.spacing(1), as part of the upgrade to Material-UI v4.

Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
This commit is contained in:
Cynthia S. Garcia 2019-12-18 00:57:16 +01:00 committed by Carol A. Scott
parent f55b2f4e38
commit 609618424d
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ const styles = theme => ({
minWidth: 200,
},
formControl: {
padding: theme.spacing.unit,
padding: theme.spacing(1),
paddingLeft: 0,
margin: 0,
minWidth: 'inherit',
@ -90,7 +90,7 @@ const styles = theme => ({
transform: 'rotate(180deg)',
},
resetButton: {
marginLeft: theme.spacing.unit,
marginLeft: theme.spacing(1),
}
});