Skip to content

Commit

Permalink
Merge pull request #2763 from mozilla/dependabot/npm_and_yarn/fronten…
Browse files Browse the repository at this point in the history
…d/jest-axe-7.0.0
  • Loading branch information
dependabot[bot] committed Nov 7, 2022
2 parents f5ddb16 + fd5dd11 commit 8acc6ad
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 79 deletions.
94 changes: 26 additions & 68 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.2.2",
"jest-axe": "^6.0.0",
"jest-axe": "^7.0.0",
"jest-environment-jsdom": "^29.2.2",
"jest-junit": "^14.0.1",
"license-checker": "^25.0.1",
Expand Down
22 changes: 12 additions & 10 deletions frontend/src/components/landing/carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,18 @@ const Tabs = (props: TabsProps) => {
}, []);

return (
<div
{...tabListProps}
ref={tabsRef}
className={`${styles.sections} ${
styles["selected-tab-" + state.selectedItem.index]
}`}
>
{Array.from(state.collection).map((item) => (
<Tab key={item.key} item={item} state={state} />
))}
<div>
<div
{...tabListProps}
ref={tabsRef}
className={`${styles.sections} ${
styles["selected-tab-" + state.selectedItem.index]
}`}
>
{Array.from(state.collection).map((item) => (
<Tab key={item.key} item={item} state={state} />
))}
</div>
<Container key={state.selectedItem.key} state={state} />
</div>
);
Expand Down

0 comments on commit 8acc6ad

Please sign in to comment.