From 840a652d4644902e2a83581474474b76b13f3b60 Mon Sep 17 00:00:00 2001 From: Dotty Date: Tue, 4 Jun 2024 12:49:25 -0400 Subject: [PATCH] change || to ?? --- src/components/extensive/WizardForm/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/extensive/WizardForm/index.tsx b/src/components/extensive/WizardForm/index.tsx index be4822bdc..c34218eaa 100644 --- a/src/components/extensive/WizardForm/index.tsx +++ b/src/components/extensive/WizardForm/index.tsx @@ -163,7 +163,7 @@ function WizardForm(props: WizardFormProps) { const stepTabItems = props.steps.map((step, index) => ({ title: - step.tabTitle || + step.tabTitle ?? t(`Step {number}

{title}

`, { number: index + 1, title: step.title }), done: props.tabOptions?.markDone && index < selectedStepIndex, disabled: props.tabOptions?.disableFutureTabs && index > selectedStepIndex,