fix: use MUI v9 slots API for StepLabel stepIcon

This commit is contained in:
Kirill
2026-05-19 15:18:42 +05:00
parent 17b683f131
commit 0b01b61e48
@@ -43,7 +43,7 @@ export function HowToOrderSection() {
<Stepper orientation="vertical" activeStep={-1}>
{steps.map((step) => (
<Step key={step.label} completed={false}>
<StepLabel StepIconComponent={() => step.icon}>{step.label}</StepLabel>
<StepLabel slots={{ stepIcon: () => step.icon }}>{step.label}</StepLabel>
<StepContent>
<Typography color="text.secondary">{step.text}</Typography>
</StepContent>