style: auto format whole project
This commit is contained in:
@@ -4,7 +4,7 @@ import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
||||
import ErrorIcon from '@mui/icons-material/Error';
|
||||
import CheckCircleIcon from '@mui/icons-material/CheckCircle';
|
||||
|
||||
import { ListItemButton, Typography} from './style';
|
||||
import { ListItemButton, Typography } from './style';
|
||||
|
||||
type FlowSubstepTitleProps = {
|
||||
expanded?: boolean;
|
||||
@@ -17,12 +17,7 @@ const validIcon = <CheckCircleIcon color="success" />;
|
||||
const errorIcon = <ErrorIcon color="error" />;
|
||||
|
||||
function FlowSubstepTitle(props: FlowSubstepTitleProps): React.ReactElement {
|
||||
const {
|
||||
expanded = false,
|
||||
onClick = () => null,
|
||||
valid = null,
|
||||
title,
|
||||
} = props;
|
||||
const { expanded = false, onClick = () => null, valid = null, title } = props;
|
||||
|
||||
const hasValidation = valid !== null;
|
||||
const validationStatusIcon = valid ? validIcon : errorIcon;
|
||||
|
Reference in New Issue
Block a user