Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Refactor Mega menu, use correct list category class #1079

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

alimpens
Copy link
Contributor

No description provided.

@github-actions github-actions bot temporarily deployed to demo-use-correct-megamenu-class February 13, 2024 13:22 Destroyed
@@ -26,7 +26,7 @@ const MegaMenuListCategory = forwardRef(
{ children, className, ...restProps }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>,
ref: ForwardedRef<HTMLDivElement>,
) => (
<div {...restProps} ref={ref} className={clsx('amsterdam-mega-menu__list-wrapper', className)}>
<div {...restProps} ref={ref} className={clsx('amsterdam-mega-menu__list-category', className)}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can move this subcomponent into its own file and add our default unit tests, as we did in #1050?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch though!

@github-actions github-actions bot temporarily deployed to demo-use-correct-megamenu-class February 13, 2024 13:53 Destroyed
@alimpens alimpens changed the title fix: Use correct Mega menu list category class fix: Refactor Mega menu, use correct list category class Feb 13, 2024
@github-actions github-actions bot temporarily deployed to demo-use-correct-megamenu-class February 13, 2024 14:21 Destroyed
@VincentSmedinga VincentSmedinga merged commit 00c198d into develop Feb 13, 2024
4 checks passed
@VincentSmedinga VincentSmedinga deleted the fix/use-correct-megamenu-class branch February 13, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants