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

Fixes double bottom border in Integration List Item #5026

Merged
merged 2 commits into from
Oct 15, 2022

Conversation

hariombalhara
Copy link
Member

@hariombalhara hariombalhara commented Oct 15, 2022

What does this PR do?

Fixes # (issue)

Notice the bottom border in case there are no App Settings
image

It was introduced here 11fee3a (#4998)

@vercel
Copy link

vercel bot commented Oct 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Oct 15, 2022 at 0:28AM (UTC)

const { componentMap, slug, ...rest } = props;

if (!componentMap[slug]) return null;

const Component = componentMap[slug];

return <Component {...rest} />;
return (
<div className={props.wrapperClassName || ""}>
Copy link
Member Author

Choose a reason for hiding this comment

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

Adds the className support through wrapper so that the app's AppSettings component never requires to read className

@hariombalhara hariombalhara requested review from CarinaWolli and a team October 15, 2022 12:15
Copy link
Member

@zomars zomars left a comment

Choose a reason for hiding this comment

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

Ship it

@zomars zomars merged commit 2d30f67 into main Oct 15, 2022
@zomars zomars deleted the fix-double-border-bottom branch October 15, 2022 17:08
@PeerRich PeerRich added the core area: core, team members only label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core area: core, team members only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants