diff --git a/src/components/Elements/MainModal/Main.jsx b/src/components/Elements/MainModal/Main.jsx index c9a1c704..e91df9c5 100644 --- a/src/components/Elements/MainModal/Main.jsx +++ b/src/components/Elements/MainModal/Main.jsx @@ -24,7 +24,7 @@ function MainModal({ modalClose, deepLinkData }) { const [currentTab, setCurrentTab] = useState(initialTab); const [currentSection, setCurrentSection] = useState(''); const [currentSectionName, setCurrentSectionName] = useState(''); - const [currentSubSection, setCurrentSubSection] = useState(null); + const [currentSubSection, setCurrentSubSection] = useState(deepLinkData?.subSection || null); const [productView, setProductView] = useState(null); const [resetDiscoverToAll, setResetDiscoverToAll] = useState(false); const [navigationTrigger, setNavigationTrigger] = useState(null); diff --git a/src/components/Elements/MainModal/components/ModalTopBar.jsx b/src/components/Elements/MainModal/components/ModalTopBar.jsx index e4283319..053f89f3 100644 --- a/src/components/Elements/MainModal/components/ModalTopBar.jsx +++ b/src/components/Elements/MainModal/components/ModalTopBar.jsx @@ -164,26 +164,42 @@ function ModalTopBar({ draggable={false} /> {breadcrumbPath.length > 0 && ( -