diff --git a/dotcom-rendering/src/components/ShowHideContainers.importable.tsx b/dotcom-rendering/src/components/ShowHideContainers.importable.tsx index f1ec7f53c9..ee13c35f4e 100644 --- a/dotcom-rendering/src/components/ShowHideContainers.importable.tsx +++ b/dotcom-rendering/src/components/ShowHideContainers.importable.tsx @@ -61,12 +61,12 @@ export const ShowHideContainers = ({ ), ); - const allContainersAreExpanded = allShowHideButtons - .map((el) => { - const sectionId = el.getAttribute('data-show-hide-button'); - return sectionId && containerStates[sectionId]; - }) - .every((state) => state !== 'closed'); + // const allContainersAreExpanded = allShowHideButtons + // .map((el) => { + // const sectionId = el.getAttribute('data-show-hide-button'); + // return sectionId && containerStates[sectionId]; + // }) + // .every((state) => state !== 'closed'); for (const e of allShowHideButtons) { // We want to remove the ability to toggle front containers between expanded and collapsed states.