Skip to content

Commit

Permalink
fix: add nullish for isMultiStep
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein authored and Jon Waldstein committed Oct 22, 2024
1 parent 11dbd3e commit e930df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DonationForms/resources/app/form/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Header({form}: {form: DonationForm}) {
return (
<DonationFormErrorBoundary>
<HeaderTemplate
isMultiStep={form.design.isMultiStep}
isMultiStep={form.design?.isMultiStep}
HeaderImage={() =>
form.settings?.designSettingsImageUrl && (
<HeaderImageTemplate
Expand Down

0 comments on commit e930df3

Please sign in to comment.