Skip to content

Commit

Permalink
fix(Flow): unnecessary headings removed
Browse files Browse the repository at this point in the history
  • Loading branch information
MEsteves22 committed Nov 21, 2023
1 parent 2171028 commit 8b77530
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion packages/lab/src/components/Flow/Node/BaseNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ export const HvFlowBaseNode = ({
)}
>
{icon}
<HvTypography variant="title4" className={classes.title}>
<HvTypography
component="p"
variant="title4"
className={classes.title}
>
{title}
</HvTypography>
</div>
Expand Down
4 changes: 3 additions & 1 deletion packages/lab/src/components/Flow/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ export const HvFlowSidebar = ({
<div id={drawerElementId} ref={setNodeRef}>
<div className={classes.titleContainer}>
<Add role="none" />
<HvTypography variant="title3">{title}</HvTypography>
<HvTypography component="p" variant="title3">
{title}
</HvTypography>
</div>
<div className={classes.contentContainer}>
<HvTypography className={classes.description}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const HvFlowSidebarGroup = ({
<div className={classes.icon} role="none">
{icon}
</div>
<HvTypography variant="title4">
<HvTypography component="p" variant="title4">
{nodes.length > 1 ? `${label} (${nodes.length})` : label}
</HvTypography>
</div>
Expand Down

0 comments on commit 8b77530

Please sign in to comment.