File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111import Typography from '@mui/material/Typography' ;
1212import ArrowToolTip from '@components/common/ArrowToolTip' ;
1313import options from './options' ;
14- import makeStyles from '@mui/styles/makeStyles ' ;
14+ import useStyles from './useStyles ' ;
1515import DateRanges from './DateRanges' ;
1616
1717const dateFormat = 'YYYY-MM-DD' ;
@@ -22,16 +22,6 @@ function DateSelector({
2222 updateEndDate,
2323} ) {
2424 const [ expanded , setExpanded ] = useState ( false ) ;
25- const useStyles = makeStyles ( theme => ( {
26- iconStyle : {
27- verticalAlign : 'middle' ,
28- } ,
29- header : {
30- fontSize : '12.47px' ,
31- fontWeight : theme . typography . fontWeightMedium ,
32- marginBottom : '8px' ,
33- } ,
34- } ) ) ;
3525 const classes = useStyles ( ) ;
3626
3727 const handleOptionSelect = optionDates => {
Original file line number Diff line number Diff line change @@ -43,6 +43,14 @@ const useStyles = makeStyles(theme => ({
4343 tooltipParagraph : {
4444 margin : '1px' ,
4545 } ,
46+ iconStyle : {
47+ verticalAlign : 'middle' ,
48+ } ,
49+ header : {
50+ fontSize : '12.47px' ,
51+ fontWeight : theme . typography . fontWeightMedium ,
52+ marginBottom : '8px' ,
53+ } ,
4654} ) ) ;
4755
4856export default useStyles ;
You can’t perform that action at this time.
0 commit comments