From 998df5a2cc7e40bc7abdfd5baab29448c40a180d Mon Sep 17 00:00:00 2001 From: seaerchin Date: Tue, 12 Sep 2023 14:09:52 +0800 Subject: [PATCH] fix(dropdown): update after rebase --- src/layouts/EditHomepage/EditHomepage.jsx | 2 +- .../components/Homepage/HeroDropdownSection.tsx | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/layouts/EditHomepage/EditHomepage.jsx b/src/layouts/EditHomepage/EditHomepage.jsx index e88c4bd84..c78926733 100644 --- a/src/layouts/EditHomepage/EditHomepage.jsx +++ b/src/layouts/EditHomepage/EditHomepage.jsx @@ -964,8 +964,8 @@ const EditHomepage = ({ match }) => { {({ currentSelectedOption }) => currentSelectedOption === "dropdown" ? ( { const { @@ -67,10 +66,10 @@ export const HeroDropdownSection = ({ - {state.dropdown.options.map( + {dropdown.options.map( ( { title: optionTitle, url: optionUrl }, dropdownOptionIndex @@ -145,7 +144,7 @@ export const HeroDropdownSection = ({