stepId: getStartStepId()

in apps/newsletters-ui/src/app/components/Wizard.tsx [128:163]


				stepId: getStartStepId(wizardId, true) ?? '',
			});
		}
		setListId(undefined);
	}, [wizardId, id, fetchStep]);

	if (serverData === undefined) {
		return <p>'loading'</p>;
	}

	if (serverErrorMessage) {
		return (
			<FailureAlert
				errorMessage={serverErrorMessage}
				errorDetails={serverData.errorDetails}
				isPersistent={serverData.hasPersistentError}
			/>
		);
	}

	const formSchema = getFormSchema(wizardId, serverData.currentStepId);
	const stepperConfig = getStepperConfig(wizardId);
	const currentStepListing = stepperConfig.steps.find(
		(step) => step.id === serverData.currentStepId,
	);
	const fieldDisplayOptions = getFieldDisplayOptions(
		wizardId,
		serverData.currentStepId,
	);

	const stringConfig = Object.entries(fieldDisplayOptions ?? {}).reduce<
		Record<string, StringInputSettings>
	>((config, nextEntry) => {
		const [key, value] = nextEntry;
		if (value.textArea) {
			config[key] = {