chore: lint

This commit is contained in:
karishmas6
2024-06-15 21:06:22 +05:30
parent e07d47d941
commit 366d0d2cdd

View File

@@ -10,22 +10,22 @@ interface BreakpointButtonProps {
export const BreakpointButton = export const BreakpointButton =
({ handleClick, size, changeColor }: BreakpointButtonProps) => { ({ handleClick, size, changeColor }: BreakpointButtonProps) => {
return ( return (
<IconButton aria-label="add" size={size || "small"} onClick={handleClick} <IconButton aria-label="add" size={size || "small"} onClick={handleClick}
sx={{ sx={{
"&:hover": { "&:hover": {
background: 'transparent', background: 'transparent',
} }
}} }}
> >
<Circle sx={{ <Circle sx={{
fontSize: '1rem', fontSize: '1rem',
marginLeft: '5px', marginLeft: '5px',
color: changeColor ? 'red': 'gray', color: changeColor ? 'red' : 'gray',
"&:hover": { "&:hover": {
color: changeColor ? 'darkRed' : 'dimgray', color: changeColor ? 'darkRed' : 'dimgray',
} }
}}/> }} />
</IconButton> </IconButton>
); );
}; };