Skip to content

Commit

Permalink
fix(homepagepreview): add default if no variant
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Sep 8, 2023
1 parent dd7023d commit bb45772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/EditHomepage/HomepagePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const HomepagePreview = ({
dropdownIsActive={dropdownIsActive}
toggleDropdown={toggleDropdown}
ref={scrollRefs[sectionIndex] as Ref<HTMLDivElement>}
variant={section.hero.variant}
variant={section.hero.variant ?? "center"}
/>
</>
)}
Expand Down

0 comments on commit bb45772

Please sign in to comment.