From 38eafe9c2f77c1c7f217a0880a4be4bb9f166dd6 Mon Sep 17 00:00:00 2001 From: Alexander Lee Date: Wed, 13 Sep 2023 17:47:13 +0800 Subject: [PATCH] chore: swap intialSectionType selector to follow conditional --- src/layouts/EditHomepage/EditHomepage.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/EditHomepage/EditHomepage.jsx b/src/layouts/EditHomepage/EditHomepage.jsx index d4a40347d..cf7a361c0 100644 --- a/src/layouts/EditHomepage/EditHomepage.jsx +++ b/src/layouts/EditHomepage/EditHomepage.jsx @@ -961,9 +961,9 @@ const EditHomepage = ({ match }) => { handleHighlightDropdownToggle } initialSectionType={ - section.hero.key_highlights - ? "highlights" - : "dropdown" + section.hero.dropdown + ? "dropdown" + : "highlights" } > {({ currentSelectedOption }) =>