Skip to content

Commit

Permalink
chore: swap intialSectionType selector to follow conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Sep 13, 2023
1 parent db127cc commit 38eafe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layouts/EditHomepage/EditHomepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -961,9 +961,9 @@ const EditHomepage = ({ match }) => {
handleHighlightDropdownToggle
}
initialSectionType={
section.hero.key_highlights
? "highlights"
: "dropdown"
section.hero.dropdown
? "dropdown"
: "highlights"
}
>
{({ currentSelectedOption }) =>
Expand Down

0 comments on commit 38eafe9

Please sign in to comment.